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
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
Ludovic Kiefer
erp5
Commits
9a3e6787
Commit
9a3e6787
authored
Aug 12, 2020
by
Ludovic Kiefer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_run_my_doc_renderjs_ui_test: fix tests for the new version of the Slideshow Editor gadget
parent
5e7f8955
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
17 deletions
+84
-17
bt5/erp5_run_my_doc_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_run_my_doc_zuite/testSlideshowEditor.zpt
...ests/renderjs_ui_run_my_doc_zuite/testSlideshowEditor.zpt
+84
-17
No files found.
bt5/erp5_run_my_doc_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_run_my_doc_zuite/testSlideshowEditor.zpt
View file @
9a3e6787
...
@@ -65,22 +65,13 @@
...
@@ -65,22 +65,13 @@
</tal:block>
</tal:block>
<tr>
<tr>
<td
colspan=
"3"
><b>
Go to the metadata form
</b></td>
<td
colspan=
"3"
><b>
Edit the title of the slide
</b></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[text()='Metadata']
</td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
title_html
</td>
<td>
title_html
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td
colspan=
"3"
><b>
Edit the metadata
</b></td>
</tr>
<tr>
<tr>
<td>
type
</td>
<td>
type
</td>
<td>
title_html
</td>
<td>
title_html
</td>
...
@@ -88,11 +79,11 @@
...
@@ -88,11 +79,11 @@
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"3"
><b>
Go
back to the tex
t form
</b></td>
<td
colspan=
"3"
><b>
Go
to the commen
t form
</b></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[text()='
Text
']
</td>
<td>
//button[text()='
Comments
']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -102,18 +93,18 @@
...
@@ -102,18 +93,18 @@
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"3"
><b>
Check
text content
</b></td>
<td
colspan=
"3"
><b>
Set
text content
</b></td>
</tr>
</tr>
<tal:block
tal:define=
"text_content python: '
<p>slide 1 text content</p>
'"
>
<tal:block
tal:define=
"text_content python: '
slide 1 comment content
'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/
verify
_ckeditor_text_content"
/>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/
type
_ckeditor_text_content"
/>
</tal:block>
</tal:block>
<tr>
<tr>
<td
colspan=
"3"
><b>
Go
back to the metadata
form
</b></td>
<td
colspan=
"3"
><b>
Go
to the text
form
</b></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[text()='
Metadata
']
</td>
<td>
//button[text()='
Text
']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -122,6 +113,13 @@
...
@@ -122,6 +113,13 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td
colspan=
"3"
><b>
Check text content
</b></td>
</tr>
<tal:block
tal:define=
"text_content python: '<p>slide 1 text content</p>'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/verify_ckeditor_text_content"
/>
</tal:block>
<tr>
<tr>
<td
colspan=
"3"
><b>
Check the metadata
</b></td>
<td
colspan=
"3"
><b>
Check the metadata
</b></td>
</tr>
</tr>
...
@@ -131,6 +129,27 @@
...
@@ -131,6 +129,27 @@
<td>
slide 1 test title
</td>
<td>
slide 1 test title
</td>
</tr>
</tr>
<tr>
<td
colspan=
"3"
><b>
Go to the comment form
</b></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[text()='Comments']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
title_html
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Check comment content
</b></td>
</tr>
<tal:block
tal:define=
"text_content python: '<p>slide 1 comment content</p>'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/verify_ckeditor_text_content"
/>
</tal:block>
<tr>
<tr>
<td
colspan=
"3"
><b>
Go back to the slide list
</b></td>
<td
colspan=
"3"
><b>
Go back to the slide list
</b></td>
</tr>
</tr>
...
@@ -153,12 +172,32 @@
...
@@ -153,12 +172,32 @@
<td>
//button[text()='Edit']
</td>
<td>
//button[text()='Edit']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Slide 1
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementNotPresent
</td>
<td>
title_html
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Go to the text form
</b></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[text()='Text']
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
title_html
</td>
<td>
title_html
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"3"
><b>
Check the metadata
</b></td>
<td
colspan=
"3"
><b>
Check the metadata
</b></td>
</tr>
</tr>
...
@@ -176,6 +215,34 @@
...
@@ -176,6 +215,34 @@
<td>
slide 1 test title
</td>
<td>
slide 1 test title
</td>
</tr>
</tr>
<tr>
<td
colspan=
"3"
><b>
Add a new slide
</b></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[text()='New Slide']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Slide 2
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Delete slide
</b></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[text()='Delete']
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
1 Slides
</td>
<td></td>
</tr>
</tbody></table>
</tbody></table>
</body>
</body>
</html>
</html>
\ No newline at end of file
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