Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CSAN
Csan
Commits
3d5f8106
Unverified
Commit
3d5f8106
authored
Sep 30, 2020
by
Will Sun
Committed by
GitHub
Sep 30, 2020
Browse files
Merge pull request #13176 from AllForNothing/fix-nightly
Fix nightly case for replication
parents
baf7cda3
3f213df5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
tests/resources/Harbor-Pages/Configuration.robot
tests/resources/Harbor-Pages/Configuration.robot
+2
-2
tests/resources/Harbor-Pages/Replication.robot
tests/resources/Harbor-Pages/Replication.robot
+12
-1
No files found.
tests/resources/Harbor-Pages/Configuration.robot
View file @
3d5f8106
...
...
@@ -399,7 +399,7 @@ Delete A Distribution
${is_exsit}
evaluate
not
${deletable}
Switch To Distribution
Filter Distribution List
${name}
${endpoint}
Retry Double Keywords When Error
Select Distribution
${name}
Wait Until Element Is Visible
//clr-datagrid/clr-dg-footer//clr-checkbox-wrapper/label
Retry Double Keywords When Error
Select Distribution
${name}
Wait Until Element Is Visible
//clr-datagrid/
/
clr-dg-footer//clr-checkbox-wrapper/label
Retry Double Keywords When Error
Retry Element Click
${distribution_action_btn_id}
Wait Until Element Is Visible And Enabled
${distribution_del_btn_id}
Retry Double Keywords When Error
Retry Element Click
${distribution_del_btn_id}
Wait Until Element Is Visible And Enabled
${delete_confirm_btn}
Retry Double Keywords When Error
Retry Element Click
${delete_confirm_btn}
Retry Wait Until Page Not Contains Element
${delete_confirm_btn}
...
...
@@ -410,7 +410,7 @@ Edit A Distribution
[
Arguments
]
${name}
${endpoint}
${new_endpoint}
=
${null}
Switch To Distribution
Filter Distribution List
${name}
${endpoint}
Retry Double Keywords When Error
Select Distribution
${name}
Wait Until Element Is Visible
//clr-datagrid/clr-dg-footer//clr-checkbox-wrapper/label
Retry Double Keywords When Error
Select Distribution
${name}
Wait Until Element Is Visible
//clr-datagrid/
/
clr-dg-footer//clr-checkbox-wrapper/label
Retry Double Keywords When Error
Retry Element Click
${distribution_action_btn_id}
Wait Until Element Is Visible And Enabled
${distribution_edit_btn_id}
Retry Double Keywords When Error
Retry Element Click
${distribution_edit_btn_id}
Wait Until Element Is Visible And Enabled
${distribution_name_input_id}
Retry Text Input
${distribution_endpoint_id}
${new_endpoint}
...
...
tests/resources/Harbor-Pages/Replication.robot
View file @
3d5f8106
...
...
@@ -149,6 +149,7 @@ Rename Rule
Retry Element Click
${rule_filter_search}
Retry Text Input
${rule_filter_input}
${rule}
Retry Element Click
//clr-dg-row[contains(.,'
${rule}
')]//label
Retry Element Click
${replication_action}
Retry Element Click
${action_bar_edit}
Retry Text Input
${rule_name}
${newname}
Retry Element Click
${rule_save_button}
...
...
@@ -158,6 +159,7 @@ Delete Rule
Retry Element Click
${rule_filter_search}
Retry Text Input
${rule_filter_input}
${rule}
Retry Element Click
//clr-dg-row[contains(.,'
${rule}
')]//label
Retry Element Click
${replication_action}
Retry Element Click
${action_bar_delete}
Retry Wait Until Page Contains Element
${dialog_delete}
#change from click to mouse down and up
...
...
@@ -184,10 +186,18 @@ Find Item And Click Edit Button
Retry Select Object
${name}
Retry Element Click
${action_bar_edit}
Find Rule And Click Edit Button
[
Arguments
]
${name}
Filter Object
${name}
Retry Select Object
${name}
Retry Element Click
${replication_action}
Retry Element Click
${action_bar_edit}
Find Item And Click Delete Button
[
Arguments
]
${name}
Filter Object
${name}
Retry Select Object
${name}
Retry Element Click
${replication_action}
Retry Element Click
${action_bar_delete}
Switch To Replication Manage Page
...
...
@@ -197,7 +207,7 @@ Switch To Replication Manage Page
Edit Replication Rule By Name
[
Arguments
]
${name}
Retry Double Keywords When Error
Switch To Replication Manage Page
"NULL"
Find
Item
And Click Edit Button
${name}
Retry Double Keywords When Error
Switch To Replication Manage Page
"NULL"
Find
Rule
And Click Edit Button
${name}
Delete Replication Rule By Name
[
Arguments
]
${name}
...
...
@@ -246,6 +256,7 @@ Delete Replication Rule
Retry Text Input
${endpoint_filter_input}
${name}
#click checkbox before target endpoint
Retry Element Click
//clr-dg-row[contains(.,'
${name}
')]//label
Retry Element Click
${replication_action}
Retry Element Click
${action_bar_delete}
Wait Until Page Contains Element
${dialog_delete}
Retry Element Click
${dialog_delete}
...
...
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