Commit b306c8f7 by Romain Courteaud

[erp5_web_renderjs_ui_test] DateTimeField has been reimplemeted

1 parent 54ab1ad8
......@@ -87,7 +87,7 @@
<tr>
<td>verifyElementPresent</td>
<td>//input[@name="field_last_check"]</td>
<td>//div[@data-gadget-scope="field_last_check"]//p</td>
<td></td>
</tr>
......
......@@ -177,14 +177,14 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_start_date']</td>
<td>//div[@data-gadget-scope='field_my_start_date']</td>
<td></td>
</tr>
<tr>
<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>
</tr>
......
......@@ -78,13 +78,13 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td>
</tr>
<tr>
<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>
</tr>
......@@ -100,6 +100,11 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr>
<td>click</td>
......@@ -121,14 +126,14 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>//input[@name='field_my_stop_date']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//input</td>
<td></td>
</tr>
</tbody></table>
......
......@@ -79,20 +79,20 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td>
</tr>
<tr>
<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>
</tr>
<tr>
<td>select</td>
<td>//select[@class='gmt_select']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT-10</td>
</tr>
......@@ -118,21 +118,21 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td>
</tr>
<tr>
<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>
</tr>
<tr>
<td>verifyValue</td>
<td>//select[@class='gmt_select']</td>
<td>GMT-10</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>-1000</td>
</tr>
</tbody></table>
</body>
......
......@@ -79,25 +79,25 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_start_date']</td>
<td>//div[@data-gadget-scope='field_my_start_date']</td>
<td></td>
</tr>
<tr>
<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>
</tr>
<tr>
<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>
</tr>
<tr>
<td>select</td>
<td>//select[@class='gmt_select']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT+5</td>
</tr>
......@@ -124,27 +124,27 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_start_date']</td>
<td>//div[@data-gadget-scope='field_my_start_date']</td>
<td></td>
</tr>
<tr>
<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>
</tr>
<tr>
<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>
</tr>
<tr>
<td>verifyValue</td>
<td>//select[@class='gmt_select']</td>
<td>GMT+5</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>+0500</td>
</tr>
</tbody></table>
</body>
......
......@@ -78,32 +78,32 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_start_date']</td>
<td>//div[@data-gadget-scope='field_my_start_date']</td>
<td></td>
</tr>
<tr>
<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>
</tr>
<tr>
<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>
</tr>
<tr>
<td>select</td>
<td>//select[@class='gmt_select']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT+5</td>
</tr>
......@@ -135,26 +135,26 @@
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_my_stop_date']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td>
</tr>
<tr>
<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>
</tr>
<tr>
<td>verifyValue</td>
<td>//select[@class='gmt_select']</td>
<td>GMT+5</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>+0500</td>
</tr>
<tr>
<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>
</tr>
......
......@@ -79,13 +79,13 @@
<tr>
<td>waitForElementPresent</td>
<td>//select[@class='gmt_select']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']</td>
<td></td>
</tr>
<tr>
<td>select</td>
<td>//select[@class='gmt_select']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>GMT+5</td>
</tr>
......@@ -111,14 +111,14 @@
<tr>
<td>waitForElementPresent</td>
<td>//select[@class='gmt_select']</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>//select[@class='gmt_select']</td>
<td>GMT</td>
<td>//div[@data-gadget-scope='field_my_stop_date']//select</td>
<td>+0000</td>
</tr>
</tbody></table>
</body>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!