summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-11-26 08:52:33 +0000
committerGéry Debongnie <ged@odoo.com>2018-11-28 12:47:55 +0000
commit0e40d843d553b111c7fa53de40ca8daa72783c4e (patch)
tree9908286a90491e9bc94d15cda142c1a8c9d0b687 /doc/reference
parent7f1f7794fbd5e068956e0e77e74c38eb0406b700 (diff)
[DOC] doc: add warning in JS test documentation
This commit adds a warning for common causes of mistakes, while running the JS test suite. It is possible to lose a lot of time trying to make the tests pass if one does not notice that the browser window is not zoomed at 100%. Maybe this warning will help someone in the future... closes odoo/odoo#29021
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/testing.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/reference/testing.rst b/doc/reference/testing.rst
index 9196fd876c9..c1d9410bc4a 100644
--- a/doc/reference/testing.rst
+++ b/doc/reference/testing.rst
@@ -296,6 +296,14 @@ The web UI has many useful features: it can run only some submodules, or
filter tests that match a string. It can show every assertions, failed or passed,
rerun specific tests, ...
+.. warning::
+
+ While the test suite is running, make sure that:
+
+ - your browser window is focused,
+ - it is not zoomed in/out. It needs to have exactly 100% zoom level.
+
+ If this is not the case, some tests will fail, without a proper explanation.
Testing Infrastructure
----------------------