Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
erp5
Commits
81d3eea0
Commit
81d3eea0
authored
Apr 15, 2019
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui_test] Add and use open_menu_panel test macro
parent
d13daa2d
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
43 additions
and
331 deletions
+43
-331
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogMenuAction.zpt
...erjs_ui_page_templates_zuite/testFormDialogMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormListMenuAction.zpt
...nderjs_ui_page_templates_zuite/testFormListMenuAction.zpt
+2
-21
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewEditableMenuAction.zpt
...i_page_templates_zuite/testFormViewEditableMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewMenuAction.zpt
...nderjs_ui_page_templates_zuite/testFormViewMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageActionMenuAction.zpt
...tests/renderjs_ui_page_zuite/testPageActionMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageExportMenuAction.zpt
...tests/renderjs_ui_page_zuite/testPageExportMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageFrontMenuAction.zpt
..._tests/renderjs_ui_page_zuite/testPageFrontMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageHistoryDocumentListOnlyShowModuleSubDocuments.zpt
...testPageHistoryDocumentListOnlyShowModuleSubDocuments.zpt
+1
-15
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageHistoryDocumentListOrderedByAccessTime.zpt
..._zuite/testPageHistoryDocumentListOrderedByAccessTime.zpt
+2
-30
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageHistoryMenuAction.zpt
...ests/renderjs_ui_page_zuite/testPageHistoryMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageJumpMenuAction.zpt
...l_tests/renderjs_ui_page_zuite/testPageJumpMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPagePreferenceMenuAction.zpt
...s/renderjs_ui_page_zuite/testPagePreferenceMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageSearchMenuAction.zpt
...tests/renderjs_ui_page_zuite/testPageSearchMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageTabMenuAction.zpt
...al_tests/renderjs_ui_page_zuite/testPageTabMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageWorklistMenuAction.zpt
...sts/renderjs_ui_page_zuite/testPageWorklistMenuAction.zpt
+1
-20
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandDisplayStoredStateJumpToLatestDocumentContext.zpt
...tCommandDisplayStoredStateJumpToLatestDocumentContext.zpt
+1
-10
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageHistory.zpt
...tal_tests/renderjs_ui_translate_zuite/testPageHistory.zpt
+1
-15
bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
...eb_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
+24
-0
No files found.
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormDialogMenuAction.zpt
View file @
81d3eea0
...
...
@@ -37,26 +37,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormListMenuAction.zpt
View file @
81d3eea0
...
...
@@ -29,27 +29,8 @@
<td></td>
</tr>
<!-- Header has a save button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<!-- Header has a menu button -->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewEditableMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testFormViewMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageActionMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageExportMenuAction.zpt
View file @
81d3eea0
...
...
@@ -31,26 +31,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageFrontMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageHistoryDocumentListOnlyShowModuleSubDocuments.zpt
View file @
81d3eea0
...
...
@@ -87,21 +87,7 @@
<td>
${base_url}/web_site_module/renderjs_runner/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='panel']//a[text()='History']
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageHistoryDocumentListOrderedByAccessTime.zpt
View file @
81d3eea0
...
...
@@ -107,21 +107,7 @@
</tr>
<!-- Go to the history tab -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='panel']//a[text()='History']
</td>
...
...
@@ -170,21 +156,7 @@
</tr>
<!-- Go to the history tab -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='panel']//a[text()='History']
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageHistoryMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageJumpMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPagePreferenceMenuAction.zpt
View file @
81d3eea0
...
...
@@ -25,26 +25,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageSearchMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageTabMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_zuite/testPageWorklistMenuAction.zpt
View file @
81d3eea0
...
...
@@ -30,26 +30,7 @@
</tr>
<!-- Header has a menu button -->
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
</tbody></table>
</body>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandDisplayStoredStateJumpToLatestDocumentContext.zpt
View file @
81d3eea0
...
...
@@ -28,16 +28,7 @@
</tal:block>
<!-- Go to the module page -->
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='panel']//a[text()='Modules']
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageHistory.zpt
View file @
81d3eea0
...
...
@@ -97,21 +97,7 @@
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<!-- Go to the history tab -->
<tr>
<td>
waitForElementNotPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//div[@data-gadget-scope='header']//button[text()='Menu' and @type='submit']
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/open_menu_panel"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel' and contains(@class, 'visible')]//a[text()='lishi']
</td>
...
...
bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
View file @
81d3eea0
...
...
@@ -1783,4 +1783,28 @@
</tr>
</tal:block>
<tal:block metal:define-macro="open_menu_panel">
<tr>
<td colspan="3"><b>Open Menu Panel</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='header']//button[@data-i18n='Menu' and @type='submit']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='header']//button[@data-i18n='Menu' and @type='submit']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='panel' and contains(@class, 'visible')]</td>
<td></td>
</tr>
<tr>
<td colspan="3"><p></p></td>
</tr>
</tal:block>
</tal:block>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment