Commit ec0ae305 authored by Romain Courteaud's avatar Romain Courteaud

erp5_officejs_support_request_ui_test: 3 <td> are needed

parent 8b0d4020
......@@ -28,19 +28,41 @@
<td>//input[@name='field_your_title']</td>
<td>test</td>
</tr>
<!-- Wait for the gadget to update the resource according to the project type,
this done by an ajax call.-->
<tr>
<td>waitForElementPresent</td>
<td>//option[text()="BugReport"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//option[text()="BugReport"]</td>
<td></td>
</tr>
<tr>
<td>select</td>
<td>field_your_project</td>
<td>RobotMaking</td>
</tr>
<tr>
<td>waitForTextNotPresent</td>
<td>BugReport</td>
<td>waitForElementNotPresent</td>
<td>//option[text()="BugReport"]</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>FeatureRequire</td>
<td>assertElementNotPresent</td>
<td>//option[text()="BugReport"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//option[text()="FeatureRequire"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//option[text()="FeatureRequire"]</td>
<td></td>
</tr>
<tr>
......
......@@ -32,11 +32,13 @@
this done by an ajax call.-->
<tr>
<td>waitForElementPresent</td>
<td>//option[@text="BugReport"]</td>
<td>//option[text()="BugReport"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//option[@text="BugReport"]</td>
<td>//option[text()="BugReport"]</td>
<td></td>
</tr>
<tr><td>select</td>
<td>field_your_project</td>
......@@ -44,19 +46,23 @@
</tr>
<tr>
<td>waitForElementNotPresent</td>
<td>//option[@text="BugReport"]</td>
<td>//option[text()="BugReport"]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
<td>//option[@text="BugReport"]</td>
<td>//option[text()="BugReport"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//option[@text="FeatureRequire"]</td>
<td>//option[text()="FeatureRequire"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//option[@text="FeatureRequire"]</td>
<td>//option[text()="FeatureRequire"]</td>
<td></td>
</tr>
<tr><td>select</td>
<td>field_your_resource</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