mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
Merge pull request #9180 from danfengliu/nightly-test-keyword-create-a-new-project-missing-btn-click-1
Add retry in keyword <Create An New Project> to make sure OK button was clicked successfully
This commit is contained in:
commit
38a9690f9a
@ -31,8 +31,7 @@ Create An New Project
|
|||||||
Run Keyword If '${count_quota}'!='${null}' Input Count Quota ${count_quota}
|
Run Keyword If '${count_quota}'!='${null}' Input Count Quota ${count_quota}
|
||||||
Run Keyword If '${storage_quota}'!='${null}' Input Storage Quota ${storage_quota} ${storage_quota_unit}
|
Run Keyword If '${storage_quota}'!='${null}' Input Storage Quota ${storage_quota} ${storage_quota_unit}
|
||||||
Capture Page Screenshot
|
Capture Page Screenshot
|
||||||
Retry Element Click ${create_project_OK_button_xpath}
|
Retry Double Keywords When Error Retry Element Click ${create_project_OK_button_xpath} Retry Wait Until Page Not Contains Element ${create_project_OK_button_xpath}
|
||||||
Retry Wait Until Page Not Contains Element ${create_project_CANCEL_button_xpath}
|
|
||||||
Capture Page Screenshot
|
Capture Page Screenshot
|
||||||
Go Into Project ${projectname} has_image=${false}
|
Go Into Project ${projectname} has_image=${false}
|
||||||
|
|
||||||
@ -201,7 +200,7 @@ Edit Repo Info
|
|||||||
Input Text xpath=//*[@id='info-edit-textarea'] test_description_info
|
Input Text xpath=//*[@id='info-edit-textarea'] test_description_info
|
||||||
Retry Element Click xpath=//*[@id='edit-save']
|
Retry Element Click xpath=//*[@id='edit-save']
|
||||||
Retry Wait Until Page Contains test_description_info
|
Retry Wait Until Page Contains test_description_info
|
||||||
Capture Page Screenshot RepoInfo.png
|
Capture Page Screenshot
|
||||||
|
|
||||||
Switch To Project Label
|
Switch To Project Label
|
||||||
Retry Element Click xpath=//project-detail//a[contains(.,'Labels')]
|
Retry Element Click xpath=//project-detail//a[contains(.,'Labels')]
|
||||||
|
Loading…
Reference in New Issue
Block a user