Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
2c757063
Commit
2c757063
authored
Nov 15, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_panel_ui_test: check consistency at the end of the test
parent
10462835
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
12 deletions
+36
-12
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testAccountingScenario.zpt
...ortal_tests/slapos_panel_zuite/testAccountingScenario.zpt
+1
-4
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerInstanceScenario.zpt
...tests/slapos_panel_zuite/testCustomerInstanceScenario.zpt
+1
-4
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerSharedInstanceScenario.zpt
...slapos_panel_zuite/testCustomerSharedInstanceScenario.zpt
+1
-4
master/bt5/slapos_panel_ui_test/SkinTemplateItem/portal_skins/slapos_panel_ui_test/Zuite_SlapOSPanelTemplate.zpt
..._skins/slapos_panel_ui_test/Zuite_SlapOSPanelTemplate.zpt
+33
-0
No files found.
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testAccountingScenario.zpt
View file @
2c757063
...
...
@@ -339,10 +339,7 @@
<tr>
<td
colspan=
"3"
><b>
Ensure everything is indexed, to manually inspect the site
</b></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/wait_for_activities"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/check_consistency"
/>
</tbody>
</table>
...
...
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerInstanceScenario.zpt
View file @
2c757063
...
...
@@ -364,10 +364,7 @@
<tr>
<td
colspan=
"3"
><b>
Ensure everything is indexed, to manually inspect the site
</b></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/wait_for_activities"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/check_consistency"
/>
</tbody>
</table>
...
...
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerSharedInstanceScenario.zpt
View file @
2c757063
...
...
@@ -429,10 +429,7 @@
<tr>
<td
colspan=
"3"
><b>
Ensure everything is indexed, to manually inspect the site
</b></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/wait_for_activities"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/check_consistency"
/>
</tbody>
</table>
...
...
master/bt5/slapos_panel_ui_test/SkinTemplateItem/portal_skins/slapos_panel_ui_test/Zuite_SlapOSPanelTemplate.zpt
View file @
2c757063
...
...
@@ -99,4 +99,37 @@
</tr>
</tal:block>
<tal:block metal:define-macro="check_consistency">
<tal:block metal:use-macro="here/Zuite_SlapOSPanelTemplate/macros/wait_for_activities" />
<tal:block tal:define="click_configuration python: {'text': 'Search'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<td colspan="3"><b>Ensure all documents are consistent</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_list.html')]//input[@name='search']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/trash_editor_configuration" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/submit_filter" />
<tal:block tal:define="search_query python: 'consistency_error:1'">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/search_in_form_list" />
</tal:block>
<tal:block tal:define="pagination_configuration python: {'header': '(0)', 'footer': 'No records'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text" />
</tal:block>
<tr>
<td colspan="3"><p></p></td>
</tr>
</tal:block>
</tal:block>
\ 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