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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
6dad9f33
Commit
6dad9f33
authored
Mar 29, 2024
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui_test: stabilize tests
parent
19837e1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
15 deletions
+50
-15
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldEmptySearchWithListbox.zpt
...ld_zuite/testMultiRelationFieldEmptySearchWithListbox.zpt
+25
-5
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldSearchWithListbox.zpt
...n_field_zuite/testMultiRelationFieldSearchWithListbox.zpt
+25
-10
No files found.
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldEmptySearchWithListbox.zpt
View file @
6dad9f33
...
@@ -248,21 +248,41 @@
...
@@ -248,21 +248,41 @@
<tr>
<tr>
<td
colspan=
"3"
><b>
Check multi relation field display
</b></td>
<td
colspan=
"3"
><b>
Check multi relation field display
</b></td>
</tr>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
assertValue
</td>
<td>
assertValue
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[1]//input
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[1]//input
</td>
<td>
A New Foo
</td>
<td>
A New Foo
</td>
</tr>
</tr>
<tr>
<tr>
<td>
assertValue
</td>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//
input
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//
a
</td>
<td>
2
</td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
assert
Value
</td>
<td>
assert
ElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[
3]//input
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[
2]//a
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
pause
</td>
<td>
100
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//input
</td>
<td>
2
</td>
</tr>
<tr>
<tr>
<td>
assertElementNotPresent
</td>
<td>
assertElementNotPresent
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[4]
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[4]
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldSearchWithListbox.zpt
View file @
6dad9f33
...
@@ -249,28 +249,43 @@
...
@@ -249,28 +249,43 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
assertValue
</td>
<td>
assertValue
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[1]//input
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[1]//input
</td>
<td>
A New Foo
</td>
<td>
A New Foo
</td>
</tr>
</tr>
<tr>
<tr>
<td>
assertValue
</td>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//
input
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//
a
</td>
<td>
2
</td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
assertElementPresent
</td>
<td>
assertElementPresent
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//a
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
100
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//input
</td>
<td>
2
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/save"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/save"
/>
...
...
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