Commit e84973af authored by Romain Courteaud's avatar Romain Courteaud

erp5_osoe_web_renderjs_ui: test the router command

parent 2722400c
Pipeline #37987 failed with stage
in 0 seconds
......@@ -20,7 +20,12 @@
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Site Reports' and contains(@class, 'active')]</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Site Reports' and contains(@href, '#!display') and contains(@class, 'active')]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='New' and contains(@href, '#!display')]</td>
<td></td>
</tr>
<tr>
......@@ -28,6 +33,11 @@
<td>//div[@data-gadget-scope='panel']//a[text()='New' and contains(@class, 'active')]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Contribute File' and contains(@href, '#!display')]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Contribute File' and contains(@class, 'active')]</td>
......@@ -39,6 +49,11 @@
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Site Reports' and contains(@href, '#!display')]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Site Reports' and contains(@class, 'active')]</td>
......@@ -49,6 +64,11 @@
<td>//div[@data-gadget-scope='panel']//a[text()='New' and contains(@class, 'active')]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Contribute File' and contains(@href, '#!display')]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Contribute File' and contains(@class, 'active')]</td>
......@@ -60,11 +80,21 @@
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Site Reports' and contains(@href, '#!display')]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Site Reports' and contains(@class, 'active')]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='New' and contains(@href, '#!display')]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='New' and contains(@class, 'active')]</td>
......@@ -86,11 +116,21 @@
<td>//div[@data-gadget-scope='panel']//a[text()='Site Reports' and contains(@class, 'active')]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='New' and contains(@href, '#!display')]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='New' and contains(@class, 'active')]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Contribute File' and contains(@href, '#!display')]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Contribute File' and contains(@class, 'active')]</td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment