Commit fe9a9c94 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_gadget_interface_validator_ui_test] Check all gadget results

parent 4ca9d141
......@@ -50,6 +50,10 @@
<td>//table</td>
<td></td>
</tr>
<tr>
<td colspan="3"><b>Check correct use case</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//tr[@id='${application_title}_test_correct_implemented_gadget']//td[@class='validation_status final']</td>
......@@ -60,25 +64,33 @@
<td>//tr[@id='${application_title}_test_correct_implemented_gadget']//td[@class='validation_status final']</td>
<td>Success</td>
</tr>
<tr>
<td colspan="3"><b>Check not existent gadget</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//tr[@id='${application_title}_test_invalid_interface_gadget']//td[@class='validation_status final']</td>
<td>//tr[@id='${application_title}_test_nonexistent_gadget']//td[@class='validation_status final']</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>//tr[@id='${application_title}_test_invalid_interface_gadget']//td[@class='validation_status final']</td>
<td>Failure</td>
<td>//tr[@id='${application_title}_test_nonexistent_gadget']//td[@class='validation_status final']</td>
<td>Error with gadget loading</td>
</tr>
<tr>
<td colspan="3"><b>Check interface with invalid syntax</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//tr[@id='${application_title}_test_nonexistent_gadget']//td[@class='validation_status final']</td>
<td>//tr[@id='${application_title}_test_invalid_interface_gadget']//td[@class='validation_status final']</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>//tr[@id='${application_title}_test_nonexistent_gadget']//td[@class='validation_status final']</td>
<td>Error with gadget loading</td>
<td>//tr[@id='${application_title}_test_invalid_interface_gadget']//td[@class='validation_status final']</td>
<td>Failure</td>
</tr>
<tr>
<td>click</td>
......@@ -105,6 +117,10 @@
<td>//tr[@id='${application_title}_test_invalid_interface_gadget_errordata']//td[@class='errordata']</td>
<td></td>
</tr>
<tr>
<td colspan="3"><b>Check missing interface</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//tr[@id='${application_title}_test_missing_interface_declaration_gadget']//td[@class='validation_status final']</td>
......@@ -115,6 +131,25 @@
<td>//tr[@id='${application_title}_test_missing_interface_declaration_gadget']//td[@class='validation_status final']</td>
<td>N/A</td>
</tr>
<tr>
<td colspan="3"><b>Check missing method declaration</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//tr[@id='${application_title}_test_missing_method_declaration_gadget']//td[@class='validation_status final']</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>//tr[@id='${application_title}_test_missing_method_declaration_gadget']//td[@class='validation_status final']</td>
<td>Failure</td>
</tr>
<tr>
<td colspan="3"><b>Check invalid appcache</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@data-i18n='Menu']</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