Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
b39ff372
Commit
b39ff372
authored
Aug 28, 2017
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_support_request_ui_test: Pause 5 seconds to let the editor show up.
parent
6e58cc8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
12 deletions
+54
-12
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testAddSupportRequest.zpt
...ficejs_support_request_ui_zuite/testAddSupportRequest.zpt
+19
-2
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testCheckComment.zpt
...ts/officejs_support_request_ui_zuite/testCheckComment.zpt
+22
-9
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testSupportRequestModuleAccess.zpt
...pport_request_ui_zuite/testSupportRequestModuleAccess.zpt
+13
-1
No files found.
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testAddSupportRequest.zpt
View file @
b39ff372
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//input[@data-i18n="[value]Proceed"]
</td>
<td>
//input[@data-i18n="[value]Proceed"]
</td>
<td></td>
<td>
15000
</td>
</tr>
</tr>
<tr>
<tr>
<td>
type
</td>
<td>
type
</td>
...
@@ -51,7 +51,24 @@
...
@@ -51,7 +51,24 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//body[@class='cke_editable cke_editable_themed cke_contents_ltr cke_show_borders']
</td>
<td>
//iframe
</td>
<td></td>
</tr>
<!--
Temparory fixing:
Pause Selenium test for 5 seconds. Give some time to let the editor show up.
Because now the editor is inside a iframe. And the iframe protects the content
if the domain differs. So we can not test the element inside an iframe. For now,
just wait 5 seconds and hope the editor can be loaded.
-->
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@data-i18n='[value]Proceed']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
...
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testCheckComment.zpt
View file @
b39ff372
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
<td>
//input[@data-i18n="[value]Proceed"]
</td>
<td>
//input[@data-i18n="[value]Proceed"]
</td>
<td></td>
<td></td>
</tr>
</tr>
field_my_description
<tr>
<tr>
<td>
type
</td>
<td>
type
</td>
<td>
//input[@name='field_your_title']
</td>
<td>
//input[@name='field_your_title']
</td>
...
@@ -52,7 +51,19 @@ field_my_description
...
@@ -52,7 +51,19 @@ field_my_description
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//body[@class='cke_editable cke_editable_themed cke_contents_ltr cke_show_borders']
</td>
<td>
//iframe
</td>
<td></td>
</tr>
<!--
Temparory fixing:
Pause Selenium test for 5 seconds. Give some time to let the editor show up.
Because now the editor is inside a iframe. And the iframe protects the content
if the domain differs. So we can not test the element inside an iframe. For now,
just wait 5 seconds and hope the editor can be loaded.
-->
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -70,14 +81,16 @@ field_my_description
...
@@ -70,14 +81,16 @@ field_my_description
<td>
//input[@data-i18n="[value]Reply"]
</td>
<td>
//input[@data-i18n="[value]Reply"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<!--
Temparory fixing:
Pause Selenium test for 5 seconds. Give some time to let the editor show up.
Because now the editor is inside a iframe. And the iframe protects the content
if the domain differs. So we can not test the element inside an iframe. For now,
just wait 5 seconds and hope the editor can be loaded.
-->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
pause
</td>
<td>
//div[@id="cke_editor1"]
</td>
<td>
5000
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//body[@class='cke_editable cke_editable_themed cke_contents_ltr cke_show_borders']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
...
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testSupportRequestModuleAccess.zpt
View file @
b39ff372
...
@@ -26,7 +26,19 @@
...
@@ -26,7 +26,19 @@
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//body[@class='cke_editable cke_editable_themed cke_contents_ltr cke_show_borders']
</td>
<td>
//iframe
</td>
<td></td>
</tr>
<!--
Temparory fixing:
Pause Selenium test for 5 seconds. Give some time to let the editor show up.
Because now the editor is inside a iframe. And the iframe protects the content
if the domain differs. So we can not test the element inside an iframe. For now,
just wait 5 seconds and hope the editor can be loaded.
-->
<tr>
<td>
pause
</td>
<td>
5000
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
...
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