Commit b306c8f7 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui_test] DateTimeField has been reimplemeted

parent 54ab1ad8
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<tr> <tr>
<td>verifyElementPresent</td> <td>verifyElementPresent</td>
<td>//input[@name="field_last_check"]</td> <td>//div[@data-gadget-scope="field_last_check"]//p</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -177,14 +177,14 @@ ...@@ -177,14 +177,14 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']//input</td>
<td>glob:${now}*</td> <td>glob:${now}*</td>
</tr> </tr>
......
...@@ -78,13 +78,13 @@ ...@@ -78,13 +78,13 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td>9915-14-21T11:00</td> <td>9915-14-21T11:00</td>
</tr> </tr>
...@@ -100,6 +100,11 @@ ...@@ -100,6 +100,11 @@
<td></td> <td></td>
</tr> </tr>
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
...@@ -121,14 +126,14 @@ ...@@ -121,14 +126,14 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td></td> <td></td>
</tr> </tr>
</tbody></table> </tbody></table>
......
...@@ -79,20 +79,20 @@ ...@@ -79,20 +79,20 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td>2004-02-29T23:10</td> <td>2004-02-29T23:10</td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT-10</td> <td>GMT-10</td>
</tr> </tr>
...@@ -118,21 +118,21 @@ ...@@ -118,21 +118,21 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td>2004-02-29T23:10:00</td> <td>2004-02-29T23:10:00</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT-10</td> <td>-1000</td>
</tr> </tr>
</tbody></table> </tbody></table>
</body> </body>
......
...@@ -79,25 +79,25 @@ ...@@ -79,25 +79,25 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']//input</td>
<td>2015-12-21T11:00</td> <td>2015-12-21T11:00</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td>2016-12-21T12:00</td> <td>2016-12-21T12:00</td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT+5</td> <td>GMT+5</td>
</tr> </tr>
...@@ -124,27 +124,27 @@ ...@@ -124,27 +124,27 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']//input</td>
<td>2015-12-21T11:00:00</td> <td>2015-12-21T11:00:00</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td>2016-12-21T12:00:00</td> <td>2016-12-21T12:00:00</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT+5</td> <td>+0500</td>
</tr> </tr>
</tbody></table> </tbody></table>
</body> </body>
......
...@@ -78,32 +78,32 @@ ...@@ -78,32 +78,32 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td>0016-12-21T12:00</td> <td>0016-12-21T12:00</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']//input</td>
<td>0022-12-21T09:00</td> <td>0022-12-21T09:00</td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT+5</td> <td>GMT+5</td>
</tr> </tr>
...@@ -135,26 +135,26 @@ ...@@ -135,26 +135,26 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//input[@name='field_my_stop_date']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td>2016-12-21T12:00:00</td> <td>2016-12-21T12:00:00</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT+5</td> <td>+0500</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//input[@name='field_my_start_date']</td> <td>//div[@data-gadget-scope='field_my_start_date']//input</td>
<td>2022-12-21T09:00:00</td> <td>2022-12-21T09:00:00</td>
</tr> </tr>
......
...@@ -79,13 +79,13 @@ ...@@ -79,13 +79,13 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT+5</td> <td>GMT+5</td>
</tr> </tr>
...@@ -111,14 +111,14 @@ ...@@ -111,14 +111,14 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//select[@class='gmt_select']</td> <td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT</td> <td>+0000</td>
</tr> </tr>
</tbody></table> </tbody></table>
</body> </body>
......
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