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
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
Titouan Soulard
slapos.core
Commits
2b2cb94b
Commit
2b2cb94b
authored
Jun 29, 2023
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_panel_ui_test: fix consistency of other documents before running the tests
parent
93a1ac47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
master/bt5/slapos_panel_ui_test/ExtensionTemplateItem/portal_components/extension.erp5.SlapOSPanelUiTest.py
...tem/portal_components/extension.erp5.SlapOSPanelUiTest.py
+15
-0
No files found.
master/bt5/slapos_panel_ui_test/ExtensionTemplateItem/portal_components/extension.erp5.SlapOSPanelUiTest.py
View file @
2b2cb94b
...
...
@@ -41,6 +41,10 @@ def ERP5Site_bootstrapSlapOSPanelTest(self, step, scenario, customer_login,
try
:
newSecurityManager
(
None
,
portal
.
acl_users
.
getUser
(
SUPER_USER
))
# Ensure checkConsistency is OK on the website installed by ui_test bt5
portal
.
portal_alarms
.
upgrader_check_post_upgrade
.
activeSense
(
fixit
=
True
)
# Organisation
organisation
=
portal
.
organisation_module
.
newContent
(
portal_type
=
"Organisation"
,
...
...
@@ -156,6 +160,17 @@ def ERP5Site_bootstrapSlapOSPanelTest(self, step, scenario, customer_login,
function
=
'customer'
).
open
()
# Ensure checkConsistency is OK on this preference
preference
=
portal
.
portal_preferences
.
slapos_default_system_preference
preference
.
edit
(
preferred_hateoas_url
=
'.'
,
preferred_subscription_assignment_category_list
=
[
'function/customer'
,
'role/client'
,
'destination_project/%s'
%
project
.
getRelativeUrl
()
]
)
if
scenario
==
'customer_shared'
:
# XXX For shared instance, user must also be a customer
# How to create Instance Node without any user related document?
...
...
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