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 @@
...
@@ -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
(expected failure)
</td></tr>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</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 -->
...
@@ -24,32 +24,27 @@
...
@@ -24,32 +24,27 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<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>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresen
t
</td>
<td>
runScrip
t
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td>
window.indexedDB.deleteDatabase('jio:setting')
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//form[@class='select-erp5-form']/button[@data-i18n='ERP5']
</td>
<td>
link=Erp5
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//form[@class='select-erp5-form']/button[@data-i18n='ERP5']
</td>
<td>
link=Erp5
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//form[@class='erp5-configuration-form']
</td>
<td>
name=erp5_url
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
6000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -59,42 +54,22 @@
...
@@ -59,42 +54,22 @@
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//form[@class='erp5-configuration-form']//button[@data-i18n='Connect']
</td>
<td>
name=submit
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
1000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
20000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//canvas[@id='id_target_cursor']
</td>
<td>
identifier=title
</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></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -133,123 +108,130 @@
...
@@ -133,123 +108,130 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
waitForElementPresent
</td>
<td>
3000
</td>
<td>
link=${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td>
link=${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Document List']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Document List']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//
input[@name='search
']
</td>
<td>
//
canvas[@id='id_target_cursor
']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
typ
e
</td>
<td>
paus
e
</td>
<td>
name=search
</td>
<td>
1000
</td>
<td>
${title}
</td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//
input[@data-i18n='[value]header-submi
t']
</td>
<td>
//
button[@id='id-toolbar-btn-pageorien
t']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
pause
</td>
<td>
3
000
</td>
<td>
1
000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
assertTextPresent
</td>
<td>
click
</td>
<td>
${title}
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//table/tbody/tr[1]/td[1]/a
</td>
<td>
link=Properties
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//ifram
e
</td>
<td>
identifier=titl
e
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
click
</td>
<td>
5000
</td>
<td>
link=Document
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Wait for search fixed
<tr>
<tr>
<td>
assertTex
tPresent
</td>
<td>
waitForElemen
tPresent</td>
<td>
${title}
</td>
<td>
name=search
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
verifyValu
e
</td>
<td>
typ
e</td>
<td>
title
</td>
<td>
name=search
</td>
<td>${title}</td>
<td>${title}</td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
waitForElementPresent
</td>
<td>
1000
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
verifyValue
</td>
<td>
click
</td>
<td>
reference
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td>
${reference}
</td>
<td></td>
</tr>
</tr>
-->
<tr>
<tr>
<td>
assertTex
tPresent
</td>
<td>
waitForElemen
tPresent
</td>
<td>
${description
}
</td>
<td>
link=${title
}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td>
link=${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storage Configuration']
</td>
<td>
identifier=title
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
assertTextPresent
</td>
<td>
//a[@data-i18n='Storage Configuration']
</td>
<td>
${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
verifyValue
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td>
title
</td>
<td></td>
<td>
${title}
</td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
verifyValue
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td>
reference
</td>
<td>
${reference}
</td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
${description}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
click
</td>
<td>
10000
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Wait for search fixed
<tr>
<tr>
<td>waitForElementPresent</td>
<td>waitForElementPresent</td>
<td>
//input[@name='search']
</td>
<td>
name=search
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -258,33 +240,33 @@
...
@@ -258,33 +240,33 @@
<td>${title}</td>
<td>${title}</td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
waitForElementPresent
</td>
<td>
//
input[@data-i18n='[value]header-submit
']
</td>
<td>//
button[@data-i18n='Filter
']</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
click
</td>
<td>
3000
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td></td>
<td></td>
</tr>
</tr>
-->
<tr>
<tr>
<td>
assertTex
tPresent
</td>
<td>
waitForElemen
tPresent
</td>
<td>
${title}
</td>
<td>
link=
${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//table/tbody/tr[1]/td[1]/a
</td>
<td>
link=${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//ifram
e
</td>
<td>
identifier=titl
e
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
assertTextPresent
</td>
<td>
5000
</td>
<td>
${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -297,11 +279,6 @@
...
@@ -297,11 +279,6 @@
<td>
title
</td>
<td>
title
</td>
<td>
${title}
</td>
<td>
${title}
</td>
</tr>
</tr>
<tr>
<td>
pause
</td>
<td>
1000
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
verifyValue
</td>
<td>
verifyValue
</td>
<td>
reference
</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