Commit c30d8328 authored by Vincent Bechu's avatar Vincent Bechu Committed by Eteri

[erp5_officejs_ui_test] Add test on save notification

parent 6d706cc2
...@@ -140,6 +140,26 @@ ...@@ -140,6 +140,26 @@
<td>link=${title}</td> <td>link=${title}</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Content</td> <td>link=Content</td>
......
...@@ -141,6 +141,26 @@ ...@@ -141,6 +141,26 @@
<td>link=${title}</td> <td>link=${title}</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Content</td> <td>link=Content</td>
......
...@@ -140,6 +140,26 @@ ...@@ -140,6 +140,26 @@
<td>link=${title}</td> <td>link=${title}</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Content</td> <td>link=Content</td>
......
...@@ -140,6 +140,26 @@ ...@@ -140,6 +140,26 @@
<td>link=${title}</td> <td>link=${title}</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Content</td> <td>link=Content</td>
......
...@@ -144,6 +144,26 @@ ...@@ -144,6 +144,26 @@
<td>link=${title}</td> <td>link=${title}</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Content</td> <td>link=Content</td>
...@@ -172,6 +192,6 @@ ...@@ -172,6 +192,6 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <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> <td></td>
</tr> </tr>
\ No newline at end of file
...@@ -149,6 +149,26 @@ ...@@ -149,6 +149,26 @@
<td>link=Content</td> <td>link=Content</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>click</td> <td>click</td>
<td>link=Content</td> <td>link=Content</td>
...@@ -172,6 +192,6 @@ ...@@ -172,6 +192,6 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <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> <td></td>
</tr> </tr>
\ No newline at end of file
...@@ -144,6 +144,26 @@ ...@@ -144,6 +144,26 @@
<td>link=${title}</td> <td>link=${title}</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Content</td> <td>link=Content</td>
...@@ -172,6 +192,6 @@ ...@@ -172,6 +192,6 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <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> <td></td>
</tr> </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