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
40e4ef1c
Commit
40e4ef1c
authored
Nov 09, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_panel_ui_test: limit Software Instance to manager only
parent
f57408e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
2 deletions
+42
-2
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerSharedInstanceScenario.zpt
...slapos_panel_zuite/testCustomerSharedInstanceScenario.zpt
+42
-2
No files found.
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerSharedInstanceScenario.zpt
View file @
40e4ef1c
...
...
@@ -130,6 +130,39 @@
'text': 'New Allocation Supply created.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<td
colspan=
"3"
><b>
Limit to only Manager user XXX
</b></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name='field_my_title']
</td>
<td>
Manual test Project Manager only
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name='field_my_destination_title']
</td>
<td>
Manual test Project Manager
</td>
</tr>
<tr>
<td>
fireEvent
</td>
<td>
//input[@name='field_my_destination_title']
</td>
<td>
input
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//li[contains(@data-relative-url, 'person_module/')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//li[contains(@data-relative-url, 'person_module/')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/save"
/>
...
...
@@ -174,6 +207,13 @@
<tr>
<td
colspan=
"3"
><b>
Ensure everything is indexed, to be able to select the software product
</b></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/wait_for_activities"
/>
<!--tal:block metal:use-macro="here/Zuite_SlapOSPanelTemplate/macros/logout" />
<tal:block tal:define="login_configuration python: {'user': 'customer', 'password': 'eiChaxo5Eefier9vAek7phie#'}">
<tal:block metal:use-macro="here/Zuite_SlapOSPanelTemplate/macros/login" />
...
...
@@ -286,7 +326,7 @@
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<td>
click
</td>
<td>
//input[@name='field_matrixbox_allocable_cell_0_
1
_0']
</td>
<td>
//input[@name='field_matrixbox_allocable_cell_0_
0
_0']
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/save"
/>
...
...
@@ -378,7 +418,7 @@
<tr>
<td>
select
</td>
<td>
//select[@name='software_type']
</td>
<td>
Default (s
lave)
</td>
<td>
Custom Personal (S
lave)
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
...
...
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