Commit bf94f426 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_officejs_ui_test: Update bookmark test after changing default behaviour

parent e0d94f9a
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<td>//button[@data-i18n='Save']</td> <td>//button[@data-i18n='Save']</td>
<td></td> <td></td>
</tr> </tr>
<!-- Search With Dispatcher --> <!-- Search With Dispatcher and default redirection on bookmark-->
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@data-i18n='Menu']</td> <td>//button[@data-i18n='Menu']</td>
...@@ -188,10 +188,25 @@ ...@@ -188,10 +188,25 @@
<!--- Verify Search ---> <!--- Verify Search --->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//table//tbody//tr//td</td> <td>//h1[@class='test-script-title']</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>verifyText</td>
<td>//h1[@class='test-script-title']</td>
<td>Title is : cloud</td>
</tr>
<!--- Set preferences ---> <!--- Set preferences --->
<tr>
<td>open</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@data-i18n='Menu']</td>
<td></td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@data-i18n='Menu']</td> <td>//button[@data-i18n='Menu']</td>
...@@ -232,7 +247,7 @@ ...@@ -232,7 +247,7 @@
<td>//button[@data-i18n='Save']</td> <td>//button[@data-i18n='Save']</td>
<td></td> <td></td>
</tr> </tr>
<!--- Do search and redirect on bookmark ---> <!--- Do search and display result list --->
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@data-i18n='Menu']</td> <td>//button[@data-i18n='Menu']</td>
...@@ -265,14 +280,9 @@ ...@@ -265,14 +280,9 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//h1[@class='test-script-title']</td> <td>//table//tbody//tr//td</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>verifyText</td>
<td>//h1[@class='test-script-title']</td>
<td>Title is : cloud</td>
</tr>
<!--- Do search and redirect on search engine ---> <!--- Do search and redirect on search engine --->
<tr> <tr>
<td>open</td> <td>open</td>
......
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