Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
preetwinder
erp5
Commits
2328d696
Commit
2328d696
authored
Aug 07, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_ui_test] Update OfficeTextErp5Sync test
parent
777af11a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
94 deletions
+71
-94
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeTextErp5Synchronization.zpt
...fficejs_ui_zuite/testOnlyfficeTextErp5Synchronization.zpt
+71
-94
No files found.
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeTextErp5Synchronization.zpt
View file @
2328d696
...
...
@@ -7,7 +7,7 @@
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
(expected failure)
</td></tr>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Clean Up -->
...
...
@@ -24,32 +24,27 @@
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_text/
development/#page=jio_configurator
</td>
<td>
${base_url}/web_site_module/ooffice_text/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresen
t
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td>
runScrip
t
</td>
<td>
window.indexedDB.deleteDatabase('jio:setting')
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//form[@class='select-erp5-form']/button[@data-i18n='ERP5']
</td>
<td>
link=Erp5
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//form[@class='select-erp5-form']/button[@data-i18n='ERP5']
</td>
<td>
link=Erp5
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//form[@class='erp5-configuration-form']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
6000
</td>
<td>
name=erp5_url
</td>
<td></td>
</tr>
<tr>
...
...
@@ -59,42 +54,22 @@
</tr>
<tr>
<td>
click
</td>
<td>
//form[@class='erp5-configuration-form']//button[@data-i18n='Connect']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
1000
</td>
<td>
name=submit
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
20000
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//canvas[@id='id_target_cursor']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@id='id-toolbar-btn-pageorient']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
...
...
@@ -133,123 +108,130 @@
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
3000
</td>
<td>
waitForElementPresent
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Document List']
</td>
<td>
link=Content
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Document List']
</td>
<td>
link=Content
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
input[@name='search
']
</td>
<td>
//
canvas[@id='id_target_cursor
']
</td>
<td></td>
</tr>
<tr>
<td>
typ
e
</td>
<td>
name=search
</td>
<td>
${title}
</td>
<td>
paus
e
</td>
<td>
1000
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//
input[@data-i18n='[value]header-submi
t']
</td>
<td>
//
button[@id='id-toolbar-btn-pageorien
t']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
3
000
</td>
<td>
1
000
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
${title}
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//table/tbody/tr[1]/td[1]/a
</td>
<td>
link=Properties
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//ifram
e
</td>
<td>
identifier=titl
e
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td>
click
</td>
<td>
link=Document
</td>
<td></td>
</tr>
<!-- Wait for search fixed
<tr>
<td>
assertTex
tPresent
</td>
<td>
${title}
</td>
<td>
waitForElemen
tPresent</td>
<td>
name=search
</td>
<td></td>
</tr>
<tr>
<td>
verifyValu
e
</td>
<td>
title
</td>
<td>
typ
e</td>
<td>
name=search
</td>
<td>${title}</td>
</tr>
<tr>
<td>
pause
</td>
<td>
1000
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td></td>
</tr>
<tr>
<td>
verifyValue
</td>
<td>
reference
</td>
<td>
${reference}
</td>
</tr>
<td>
click
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td></td>
</tr>
-->
<tr>
<td>
assertTex
tPresent
</td>
<td>
${description
}
</td>
<td>
waitForElemen
tPresent
</td>
<td>
link=${title
}
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storage Configuration']
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Storage Configuration']
</td>
<td>
assertTextPresent
</td>
<td>
${title}
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td></td>
<td>
verifyValue
</td>
<td>
title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td>
verifyValue
</td>
<td>
reference
</td>
<td>
${reference}
</td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
${description}
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
10000
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td></td>
</tr>
<!-- Wait for search fixed
<tr>
<td>waitForElementPresent</td>
<td>
//input[@name='search']
</td>
<td>
name=search
</td>
<td></td>
</tr>
<tr>
...
...
@@ -258,33 +240,33 @@
<td>${title}</td>
</tr>
<tr>
<td>
click
</td>
<td>
//
input[@data-i18n='[value]header-submit
']
</td>
<td>
waitForElementPresent
</td>
<td>//
button[@data-i18n='Filter
']</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
3000
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td></td>
</tr>
</tr>
-->
<tr>
<td>
assertTex
tPresent
</td>
<td>
${title}
</td>
<td>
waitForElemen
tPresent
</td>
<td>
link=
${title}
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//table/tbody/tr[1]/td[1]/a
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//ifram
e
</td>
<td>
identifier=titl
e
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td>
assertTextPresent
</td>
<td>
${title}
</td>
<td></td>
</tr>
<tr>
...
...
@@ -297,11 +279,6 @@
<td>
title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
pause
</td>
<td>
1000
</td>
<td></td>
</tr>
<tr>
<td>
verifyValue
</td>
<td>
reference
</td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment