Commit 0a2b93dc authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs_ui_test] Remove setting database before app lauch

parent 7013006b
...@@ -54,9 +54,14 @@ ...@@ -54,9 +54,14 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Local is Enough</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -85,6 +90,16 @@ ...@@ -85,6 +90,16 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Add</td>
......
...@@ -54,9 +54,14 @@ ...@@ -54,9 +54,14 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Local is Enough</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -85,6 +90,16 @@ ...@@ -85,6 +90,16 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Add</td>
......
...@@ -54,9 +54,14 @@ ...@@ -54,9 +54,14 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Local is Enough</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -85,6 +90,17 @@ ...@@ -85,6 +90,17 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Add</td>
...@@ -138,6 +154,6 @@ ...@@ -138,6 +154,6 @@
<!-- Stop Generic --> <!-- Stop Generic -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>identifier=canvas_front</td> <td>identifier=viewerContainer</td>
<td></td> <td></td>
</tr> </tr>
\ No newline at end of file
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test OfficeJS UI</title> <title>Test OfficeJS UI</title>
<script src="../../web_site_module/officejs_text_editor/rsvp.js"></script>
<script src="../../web_site_module/officejs_text_editor/jiodev.js"></script>
</head> </head>
<body> <body>
<table cellpadding="1" cellspacing="1" border="1"> <table cellpadding="1" cellspacing="1" border="1">
...@@ -53,6 +55,11 @@ ...@@ -53,6 +55,11 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Local is Enough</td> <td>link=Local is Enough</td>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<body> <body>
<table cellpadding="1" cellspacing="1" border="1"> <table cellpadding="1" cellspacing="1" border="1">
<thead> <thead>
<tr><td rowspan="1" colspan="3">Test OfficeJS UI</td></tr> <tr><td rowspan="1" colspan="3">Test OfficeJS UI (expected failure)</td></tr>
</thead><tbody> </thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" /> <tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<!-- Clean Up --> <!-- Clean Up -->
......
...@@ -54,9 +54,14 @@ ...@@ -54,9 +54,14 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Local is Enough</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -85,6 +90,16 @@ ...@@ -85,6 +90,16 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Add</td>
......
...@@ -54,9 +54,14 @@ ...@@ -54,9 +54,14 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Local is Enough</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -85,6 +90,16 @@ ...@@ -85,6 +90,16 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Add</td>
......
...@@ -54,9 +54,14 @@ ...@@ -54,9 +54,14 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Local is Enough</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -85,6 +90,16 @@ ...@@ -85,6 +90,16 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Add</td>
......
...@@ -60,9 +60,14 @@ ...@@ -60,9 +60,14 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Local is Enough</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -91,6 +96,16 @@ ...@@ -91,6 +96,16 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Add</td>
......
...@@ -54,9 +54,14 @@ ...@@ -54,9 +54,14 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>runScript</td>
<td>window.indexedDB.deleteDatabase('jio:setting')</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Local is Enough</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -85,6 +90,16 @@ ...@@ -85,6 +90,16 @@
<td>${base_url}/web_site_module/${test_url}/</td> <td>${base_url}/web_site_module/${test_url}/</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Local is Enough</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>link=Add</td> <td>link=Add</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