Commit 4ca05236 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

erp5_officejs_drone_simulator_test: fix UI tests

Fix UI tests error introduced by f159d4f2. As it checks for timeout,
simulation finished state cannot be reached anymore.
parent 974098aa
...@@ -44,11 +44,6 @@ ...@@ -44,11 +44,6 @@
<td>//div[contains(text(), 'CONSOLE LOG ENTRIES:')]</td> <td>//div[contains(text(), 'CONSOLE LOG ENTRIES:')]</td>
<td></td> <td></td>
<tr> <tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(text(), 'Simulation finished')]</td>
<td></td>
<tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[contains(text(), 'Initial speed: OK')]</td> <td>//div[contains(text(), 'Initial speed: OK')]</td>
...@@ -84,6 +79,11 @@ ...@@ -84,6 +79,11 @@
<td>//div[contains(text(), 'Altitude: OK')]</td> <td>//div[contains(text(), 'Altitude: OK')]</td>
<td></td> <td></td>
<tr> <tr>
<tr>
<td>assertElementPresent</td>
<td>//div[contains(text(), 'Timeout: OK')]</td>
<td></td>
<tr>
</tbody></table> </tbody></table>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -54,11 +54,6 @@ ...@@ -54,11 +54,6 @@
<td>//div[contains(text(), 'CONSOLE LOG ENTRIES:')]</td> <td>//div[contains(text(), 'CONSOLE LOG ENTRIES:')]</td>
<td></td> <td></td>
<tr> <tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(text(), 'Simulation finished')]</td>
<td></td>
<tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[contains(text(), 'Initial speed: OK')]</td> <td>//div[contains(text(), 'Initial speed: OK')]</td>
...@@ -94,6 +89,11 @@ ...@@ -94,6 +89,11 @@
<td>//div[contains(text(), 'Altitude: OK')]</td> <td>//div[contains(text(), 'Altitude: OK')]</td>
<td></td> <td></td>
<tr> <tr>
<tr>
<td>assertElementPresent</td>
<td>//div[contains(text(), 'Timeout: OK')]</td>
<td></td>
<tr>
</tbody></table> </tbody></table>
</body> </body>
</html> </html>
\ No newline at end of file
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