From 0e40d843d553b111c7fa53de40ca8daa72783c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Mon, 26 Nov 2018 08:52:33 +0000 Subject: [PATCH] [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 --- doc/reference/testing.rst | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ----------------------