Commit 740a43a4 authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs_ui_test] Add test on save notification

parent 4a44bb84
......@@ -140,6 +140,26 @@
<td>link=${title}</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>identifier=reference</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=reference</td>
<td>reference</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Content</td>
......
......@@ -141,6 +141,26 @@
<td>link=${title}</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>identifier=reference</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=reference</td>
<td>reference</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Content</td>
......
......@@ -140,6 +140,26 @@
<td>link=${title}</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>identifier=reference</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=reference</td>
<td>reference</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Content</td>
......
......@@ -140,6 +140,26 @@
<td>link=${title}</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>identifier=reference</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=reference</td>
<td>reference</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Content</td>
......
......@@ -144,6 +144,26 @@
<td>link=${title}</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>identifier=reference</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=reference</td>
<td>reference</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Content</td>
......@@ -172,6 +192,6 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=div[data-gadget-scope="notification"].visible</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
\ No newline at end of file
......@@ -149,6 +149,26 @@
<td>link=Content</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>identifier=reference</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=reference</td>
<td>reference</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Content</td>
......@@ -172,6 +192,6 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=div[data-gadget-scope="notification"].visible</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
\ No newline at end of file
......@@ -144,6 +144,26 @@
<td>link=${title}</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>identifier=reference</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=reference</td>
<td>reference</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Content</td>
......@@ -172,6 +192,6 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=div[data-gadget-scope="notification"].visible</td>
<td>//div[@data-gadget-scope="notification"]//button[text()='Data Updated']</td>
<td></td>
</tr>
\ 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