mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
Merge pull request #9219 from danfengliu/refect-nightly-db-keyword-create-a-new-user
Refect nightly test case keyword create-a-new-user
This commit is contained in:
commit
d6a6ca12f9
@ -42,28 +42,16 @@ Sign Up Should Not Display
|
|||||||
Create An New User
|
Create An New User
|
||||||
[Arguments] ${url} ${username} ${email} ${realname} ${newPassword} ${comment}
|
[Arguments] ${url} ${username} ${email} ${realname} ${newPassword} ${comment}
|
||||||
Go To ${url}
|
Go To ${url}
|
||||||
Wait Until Element Is Visible ${harbor_span_title}
|
Retry Wait Element ${harbor_span_title}
|
||||||
Wait Until Element Is Visible xpath=${sign_up_for_an_account_xpath}
|
Retry Element Click xpath=${sign_up_for_an_account_xpath}
|
||||||
Click Element xpath=${sign_up_for_an_account_xpath}
|
Retry Text Input xpath=${username_xpath} ${username}
|
||||||
Wait Until Element Is Visible xpath=${username_xpath}
|
Retry Text Input xpath=${email_xpath} ${email}
|
||||||
Input Text xpath=${username_xpath} ${username}
|
Retry Text Input xpath=${realname_xpath} ${realname}
|
||||||
Wait Until Element Is Visible xpath=${email_xpath}
|
Retry Text Input xpath=${newPassword_xpath} ${newPassword}
|
||||||
Input Text xpath=${email_xpath} ${email}
|
Retry Text Input xpath=${confirmPassword_xpath} ${newPassword}
|
||||||
Wait Until Element Is Visible xpath=${realname_xpath}
|
Retry Text Input xpath=${comment_xpath} ${comment}
|
||||||
Input Text xpath=${realname_xpath} ${realname}
|
Retry Double Keywords When Error Retry Element Click ${signup_xpath} Retry Wait Until Page Not Contains Element ${signup_xpath}
|
||||||
Wait Until Element Is Visible xpath=${newPassword_xpath}
|
Retry Text Input ${login_name} ${username}
|
||||||
Input Text xpath=${newPassword_xpath} ${newPassword}
|
Retry Text Input ${login_pwd} ${newPassword}
|
||||||
Wait Until Element Is Visible xpath=${confirmPassword_xpath}
|
Retry Double Keywords When Error Retry Element Click ${login_btn} Retry Wait Until Page Not Contains Element ${login_btn}
|
||||||
Input Text xpath=${confirmPassword_xpath} ${newPassword}
|
Retry Wait Element xpath=//span[contains(., '${username}')]
|
||||||
Wait Until Element Is Visible xpath=${comment_xpath}
|
|
||||||
Input Text xpath=${comment_xpath} ${comment}
|
|
||||||
Wait Until Element Is Visible xpath=${signup_xpath}
|
|
||||||
Click button xpath=${signup_xpath}
|
|
||||||
Sleep 2
|
|
||||||
Wait Until Element Is Visible ${login_name}
|
|
||||||
Input Text ${login_name} ${username}
|
|
||||||
Wait Until Element Is Visible ${login_pwd}
|
|
||||||
Input Text ${login_pwd} ${newPassword}
|
|
||||||
Wait Until Element Is Visible ${login_btn}
|
|
||||||
Click button ${login_btn}
|
|
||||||
Wait Until Element Is Visible xpath=//span[contains(., '${username}')]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user