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