Commit 8a8bc465 authored by Ayush Tiwari's avatar Ayush Tiwari

[erp5_ui_test] Update tests for Diff Tool so as to not display the empty diffs

Change in tests based on change in DiffTool in commit: 610a15b3
parent 610a15b3
...@@ -73,22 +73,22 @@ ...@@ -73,22 +73,22 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//tr[@class='listbox-data-line-4 DataA']</td> <td>//tr[@class='listbox-data-line-1 DataB']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertText</td> <td>assertText</td>
<td>//tr[@class='listbox-data-line-4 DataA']/td[2]</td> <td>//tr[@class='listbox-data-line-1 DataB']/td[2]</td>
<td>title</td> <td>title</td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//tr[@class='listbox-data-line-4 DataA']/td[3]/div[@data-gadget-sandbox="public"]</td> <td>//tr[@class='listbox-data-line-1 DataB']/td[3]/div[@data-gadget-sandbox="public"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>storeEval</td> <td>storeEval</td>
<td>document.querySelector('#selenium_myiframe').contentWindow.document.evaluate("//tr[@class='listbox-data-line-4 DataA']/td[3]/div[@data-gadget-sandbox='public']", document.querySelector('#selenium_myiframe').contentWindow.document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getAttribute('data-gadget-value');</td> <td>document.querySelector('#selenium_myiframe').contentWindow.document.evaluate("//tr[@class='listbox-data-line-1 DataB']/td[3]/div[@data-gadget-sandbox='public']", document.querySelector('#selenium_myiframe').contentWindow.document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getAttribute('data-gadget-value');</td>
<td>_data_gadget_value</td> <td>_data_gadget_value</td>
</tr> </tr>
<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