Commit 0f600230 authored by Romain Courteaud's avatar Romain Courteaud Committed by Kazuhiko Shiozaki

erp5_officejs_support_request_ui_test: 3 <td> are needed

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