Commit c1c87afe authored by Ayush Tiwari's avatar Ayush Tiwari

[erp5_web_renderjs_ui_test]: Do not check for the link in tests

There won't be any `a` tag for the State column as it is a column
with no link for the given listbox(es), so just verify the value
of the text in it.
parent 4c121664
......@@ -58,9 +58,9 @@
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='x0_listbox']//a[text()='Current']</td>
<td></td>
<td>verifyText</td>
<td>//div[@data-gadget-scope='x0_listbox']//table/tbody/tr[1]/td[2]</td>
<td>Current</td>
</tr>
<tr>
......@@ -69,9 +69,9 @@
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope='x1_listbox']//a[text()='Draft']</td>
<td></td>
<td>verifyText</td>
<td>//div[@data-gadget-scope='x1_listbox']//table/tbody/tr[1]/td[2]</td>
<td>Draft</td>
</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