Commit 413e6a27 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui_test] Fix listbox's buttons xpath

parent e3831051
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@data-i18n="Select"]</td> <td>//button[text()="Select"]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -54,13 +54,13 @@ ...@@ -54,13 +54,13 @@
<!-- check configure button is disable --> <!-- check configure button is disable -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@data-i18n='Configure' and contains(@class, 'ui-disabled')]</td> <td>//button[text()='Configure' and contains(@class, 'ui-disabled')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyElementPresent</td> <td>verifyElementPresent</td>
<td>//button[@data-i18n='Configure' and contains(@class, 'ui-disabled')]</td> <td>//button[text()='Configure' and contains(@class, 'ui-disabled')]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -777,12 +777,12 @@ ...@@ -777,12 +777,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Sort']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Sort']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementNotPresent</td> <td>waitForElementNotPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Sort' and @disabled]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Sort' and @disabled]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -792,7 +792,7 @@ ...@@ -792,7 +792,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Sort']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Sort']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -959,12 +959,12 @@ ...@@ -959,12 +959,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Configure']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Configure']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementNotPresent</td> <td>waitForElementNotPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Configure' and @disabled]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Configure' and @disabled]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -974,7 +974,7 @@ ...@@ -974,7 +974,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Configure']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Configure']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1259,32 +1259,32 @@ ...@@ -1259,32 +1259,32 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Select']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Hide']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Select']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Hide']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementNotPresent</td> <td>waitForElementNotPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Select' and @disabled]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Hide' and @disabled]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Select']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Hide']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementNotPresent</td> <td>waitForElementNotPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Select']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Hide']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Select']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Hide']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1414,7 +1414,7 @@ ...@@ -1414,7 +1414,7 @@
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Select']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@name='Hide']</td>
<td></td> <td></td>
</tr> </tr>
......
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