feat: slightly improved the logic in test16 and test17
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
74dc2e1735
commit
486ea8ae7f
|
@ -19,6 +19,7 @@ ${STAR_A_REPO} //form[2]/div/button
|
|||
${SHOW_STARGAZERS} //body/div[2]/div[2]/div[1]/div[1]/div/div[2]/form[2]/div/a
|
||||
${DOTFILES_URL} https://git.dotya.ml/wanderer/dotfiles
|
||||
${DOTFILES_STARS_URL} ${DOTFILES_URL}/stars
|
||||
${STARGAZERS_LIST} //body/div[2]/div[2]*
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
|
@ -54,6 +55,12 @@ Search dotfiles page
|
|||
Stargazers page
|
||||
Location Should Be ${DOTFILES_STARS_URL}
|
||||
|
||||
Stargazer dotfiles address
|
||||
Location Should Contain dotfiles/stars
|
||||
|
||||
Stargazer usr is missing
|
||||
Should Not Contain ${STARGAZERS_LIST} dat_test_usr
|
||||
|
||||
|
||||
*** Test Cases ***
|
||||
star wanderer's dotfiles repo
|
||||
|
@ -107,6 +114,8 @@ star wanderer's dotfiles repo
|
|||
Screenshot page
|
||||
Log Location
|
||||
Stargazers page
|
||||
Stargazer dotfiles address
|
||||
Stargazer usr is missing
|
||||
|
||||
Click Element ${STAR_A_REPO}
|
||||
Screenshot page
|
||||
|
|
|
@ -19,6 +19,7 @@ ${UNSTAR_A_REPO} //form[2]/div/button
|
|||
${SHOW_STARGAZERS} //body/div[2]/div[2]/div[1]/div[1]/div/div[2]/form[2]/div/a
|
||||
${DOTFILES_URL} https://git.dotya.ml/wanderer/dotfiles
|
||||
${DOTFILES_STARS_URL} ${DOTFILES_URL}/stars
|
||||
${STARGAZERS_LIST} //body/div[2]/div[2]/div[2]/ul/li/*[contains(text(), "dat_test_usr")]
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
|
@ -54,6 +55,12 @@ Search dotfiles page
|
|||
Stargazers page
|
||||
Location Should Be ${DOTFILES_STARS_URL}
|
||||
|
||||
Stargazer dotfiles address
|
||||
Location Should Contain dotfiles/stars
|
||||
|
||||
Stargazer usr is present
|
||||
Should Contain ${STARGAZERS_LIST} dat_test_usr
|
||||
|
||||
|
||||
*** Test Cases ***
|
||||
unstar wanderer's dotfiles repo
|
||||
|
@ -107,6 +114,8 @@ unstar wanderer's dotfiles repo
|
|||
Screenshot page
|
||||
Log Location
|
||||
Stargazers page
|
||||
Stargazer dotfiles address
|
||||
Stargazer usr is present
|
||||
|
||||
Click Element ${UNSTAR_A_REPO}
|
||||
Screenshot page
|
||||
|
|
Reference in New Issue