summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-07-04 16:32:05 +0200
committerChristophe Monniez <moc@odoo.com>2018-08-29 16:57:27 +0200
commit3f0ebca1924afb538c6f7960a42aba725654c643 (patch)
tree1bcdb20706658bdde4487c38abad1d4b5204c5bc /addons/web/static/src/xml
parent19cc218d03c9e2eb32ce354db96668b4c5280854 (diff)
[IMP] web: New test to test Odoo menus
This commit adds a new js test in web that enters each app and click on each view switcher, each menu and each search filter. This test is tagged '-standard' and 'click_all' as it could last a long time, that way it's not executed by default. It could also be started from the browser console with 'clickEverywhere();'.
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index e1c74db4645..e1ba3c29509 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -237,6 +237,7 @@
<t t-name="WebClient.DebugManager.Global">
<a role="menuitem" href="#" data-action="perform_js_tests" class="dropdown-item">Run JS Tests</a>
<a role="menuitem" href="#" data-action="perform_js_mobile_tests" class="dropdown-item">Run JS Mobile Tests</a>
+ <a role="menuitem" href="#" data-action="perform_click_everywhere_test" class="dropdown-item">Run Click Everywhere Test</a>
<a role="menuitem" href="#" data-action="select_view" class="dropdown-item">Open View</a>
<t t-if="manager._events">
<div class="dropdown-divider" role="separator"/>