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
6e1c9798
Commit
6e1c9798
authored
Jun 28, 2023
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_panel_ui_test: add Software Product to create Subscription Request
parent
a5342d74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
94 additions
and
0 deletions
+94
-0
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerRemoteInstanceScenario.zpt
...slapos_panel_zuite/testCustomerRemoteInstanceScenario.zpt
+47
-0
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerRemoteSharedInstanceScenario.zpt
..._panel_zuite/testCustomerRemoteSharedInstanceScenario.zpt
+47
-0
No files found.
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerRemoteInstanceScenario.zpt
View file @
6e1c9798
...
...
@@ -27,6 +27,53 @@
<tal:block
tal:define=
"login_configuration python: {'user': user_configuration['manager_login'], 'password': user_configuration['passwd']}"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/login"
/>
</tal:block>
<tr>
<td
colspan=
"3"
><b>
Go to the project page
</b></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"click_configuration python: {'text': 'Test Project'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<td
colspan=
"3"
><b>
Add a software product
</b></td>
</tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'Add Software Product'}"
>
<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>
waitForElementPresent
</td>
<td>
//input[@name='field_your_product_import_json']
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name='field_your_product_import_json']
</td>
<td>
https://lab.nexedi.com/nexedi/slapos/raw/1.0.289/software/theia/software.cfg
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'New Software Product 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"
/>
<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': user_configuration['customer_login'], 'password': user_configuration['passwd']}"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/login"
/>
</tal:block>
...
...
master/bt5/slapos_panel_ui_test/PathTemplateItem/portal_tests/slapos_panel_zuite/testCustomerRemoteSharedInstanceScenario.zpt
View file @
6e1c9798
...
...
@@ -27,6 +27,53 @@
<tal:block
tal:define=
"login_configuration python: {'user': user_configuration['manager_login'], 'password': user_configuration['passwd']}"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/login"
/>
</tal:block>
<tr>
<td
colspan=
"3"
><b>
Go to the project page
</b></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"click_configuration python: {'text': 'Test Project'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<td
colspan=
"3"
><b>
Add a software product
</b></td>
</tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'Add Software Product'}"
>
<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>
waitForElementPresent
</td>
<td>
//input[@name='field_your_product_import_json']
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name='field_your_product_import_json']
</td>
<td>
https://lab.nexedi.com/nexedi/slapos/raw/1.0.289/software/caddy-frontend/software.cfg
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'New Software Product 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"
/>
<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': user_configuration['customer_login'], 'password': user_configuration['passwd']}"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSPanelTemplate/macros/login"
/>
</tal:block>
...
...
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