Commit d273f1dc authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio_ui_test: Use change rather then click to trigger checkValidity

   Click only works when you click on buttons, while change quite often calls getContent/checkValidity, causing the this test to be more stable.
parent abdde8bd
...@@ -88,9 +88,9 @@ ...@@ -88,9 +88,9 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>type</td>
<td>//input[@name="//simple-string" and @type="text"]</td> <td>//input[@name="//simple-string" and @type="text"]</td>
<td></td> <td>x</td>
</tr> </tr>
<tr> <tr>
...@@ -104,7 +104,17 @@ ...@@ -104,7 +104,17 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>select</td>
<td>//select[@name="//simple-string-with-enum"]</td>
<td>simple string B</td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="//simple-string" and @type="text"]</td>
<td></td>
</tr>
<tr>
<td>select</td>
<td>//select[@name="//simple-string-with-enum"]</td> <td>//select[@name="//simple-string-with-enum"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -222,7 +232,6 @@ ...@@ -222,7 +232,6 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td colspan="3"><b> Fill the simple string</b></td> <td colspan="3"><b> Fill the simple string</b></td>
</tr> </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