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
9e0ff41a
Commit
9e0ff41a
authored
Aug 07, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_ui_test] Update Erp5 sync test with text_editor
parent
2328d696
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
118 deletions
+35
-118
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSTextEditorErp5Synchronization.zpt
...js_ui_zuite/testOfficeJSTextEditorErp5Synchronization.zpt
+35
-118
No files found.
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSTextEditorErp5Synchronization.zpt
View file @
9e0ff41a
...
...
@@ -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 -->
...
...
@@ -29,47 +29,27 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td>
link=Storages
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td>
link=Storages
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storage Configuration']
</td>
<td>
link=Erp5
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Storage Configuration']
</td>
<td>
link=Erp5
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//form[@class='select-erp5-form']/button[@data-i18n='ERP5']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//form[@class='select-erp5-form']/button[@data-i18n='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>
...
...
@@ -79,32 +59,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>
//button[@data-i18n='Proceed']
</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>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//iframe
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
...
...
@@ -142,44 +112,30 @@
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
3000
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<!-- Wait for search fixed
<tr>
<td>waitForElementPresent</td>
<td>
//a[@data-i18n='Document List']
</td>
<td>
name=search
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Document List']
</td>
<td></td>
<td>
type
</td>
<td>
name=search
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>
//
input[@name='search
']
</td>
<td>//
button[@data-i18n='Filter
']</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=search
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>click</td>
<td>
//
input[@data-i18n='[value]header-submit
']
</td>
<td>//
button[@data-i18n='Filter
']</td>
<td></td>
</tr>
</tr>
-->
<tr>
<td>
pause
</td>
<td>
3000
</td>
<td>
waitForElementPresent
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tr>
...
...
@@ -189,17 +145,12 @@
</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>
//iframe
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
...
...
@@ -212,11 +163,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>
...
...
@@ -232,34 +178,15 @@
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storage Configuration']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Storage Configuration']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
10000
</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>
...
...
@@ -268,13 +195,18 @@
<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>
<td>
waitForElementPresent
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tr>
...
...
@@ -284,22 +216,12 @@
</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>
//iframe
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
${title}
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
...
...
@@ -307,11 +229,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