Commit f8843d7e authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui_test] Update some xpath

parent 1aaf83d4
......@@ -81,14 +81,14 @@
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[@data-i18n='Preferences']</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Preferences']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='panel']//a[@data-i18n='Preferences']</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Preferences']</td>
<td></td>
</tr>
......
......@@ -64,7 +64,7 @@
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[@data-i18n='Preferences']</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Preferences']</td>
<td></td>
</tr>
......@@ -77,7 +77,7 @@
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='panel']//a[@data-i18n='Preferences']</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Preferences']</td>
<td></td>
</tr>
......
......@@ -50,14 +50,14 @@
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='panel']//a[@data-i18n='Preferences']</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Preferences']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@data-gadget-scope='panel']//a[@data-i18n='Preferences']</td>
<td>//div[@data-gadget-scope='panel']//a[text()='Preferences']</td>
<td></td>
</tr>
......
......@@ -28,7 +28,7 @@
</tr>
<tr>
<td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_panel.html')]//a[@data-i18n='Modules' and contains(@href, '#!display') and contains(@href, 'n.page=front')]</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_panel.html')]//a[text()='Modules' and contains(@href, '#!display') and contains(@href, 'n.page=front')]</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
......
......@@ -81,7 +81,7 @@
</tr>
<tr>
<td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_panel.html')]//a[@data-i18n='Preferences']</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_panel.html')]//a[text()='Preferences']</td>
<td></td>
</tr>
<tr>
......@@ -96,7 +96,7 @@
</tr>
<tr>
<td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_panel.html')]//a[@data-i18n='Search' and contains(@href, '#!display_stored_state') and contains(@href, 'n.page=search')]</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_panel.html')]//a[text()='Search' and contains(@href, '#!display_stored_state') and contains(@href, 'n.page=search')]</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
......
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