refactor: due to Gitea updates (8b428454 follow-up)
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
surtur 2020-07-12 17:40:31 +02:00
parent 8b42845430
commit 93804c7389
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
7 changed files with 15 additions and 14 deletions

View File

@ -8,7 +8,7 @@ ${DELAY} 0.2
${BURGER_MENU} //*[@id="navbar-expand-toggle"]
${LOGIN_BUTTON} //*[@id="navbar"]/div[2]/a[2]
${SIGN_IN} //body/div[2]/div[2]/div[2]/div/form/div[4]/button
${SIGN_IN} //body/div/div[2]/div[2]/div/form/div[4]/button
*** Keywords ***
Screenshot page

View File

@ -19,10 +19,10 @@ ${SEARCH_BUTTON} //form/div/button
${SEARCH_DOTFILES_URL} https://git.dotya.ml/explore/repos?tab=&sort=recentupdate&q=dotfiles
${WANDERER_DOTFILES_ENTRY} //a[@href="/wanderer/dotfiles"]
${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
${SHOW_STARGAZERS} //body/div/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]*
${STARGAZERS_LIST} //body/div/div[2]*
*** Keywords ***
Screenshot page

View File

@ -19,10 +19,10 @@ ${SEARCH_BUTTON} //form/div/button
${SEARCH_DOTFILES_URL} https://git.dotya.ml/explore/repos?tab=&sort=recentupdate&q=dotfiles
${WANDERER_DOTFILES_ENTRY} //a[@href="/wanderer/dotfiles"]
${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
${SHOW_STARGAZERS} //body/div/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]*[contains(text(), "dat_test_usr")]
${STARGAZERS_LIST} //body/div/div[2]*[contains(text(), "dat_test_usr")]
*** Keywords ***
Screenshot page

View File

@ -18,14 +18,14 @@ ${EXPLORE_PAGE_URL} https://git.dotya.ml/explore/repos
${ADD_SOMETHING_BUTTON} //*[@id="navbar"]/div[2]/div[1]
${NEW_MIGRATION_BUTTON} //*[@id="menuitem_2"]
${MIGRATION_URL_INPUT} //*[@id="clone_addr"]
${MIGRATION_REPO_VISIBILITY_CHECKBOX} //body/div[2]/div[2]/div/div/form/div/div[6]/div/input
${MIGRATION_REPO_IS_A_MIRROR_CHECKBOX} //body/div[2]/div[2]/div/div/form/div/div[7]/div
${MIGRATION_REPO_VISIBILITY_CHECKBOX} //body/div/div[2]/div/div/form/div/div[6]/div/input
${MIGRATION_REPO_IS_A_MIRROR_CHECKBOX} //body/div/div[2]/div/div/form/div/div[7]/div
${MIGRATION_REPO_DESCRIPTION_INPUT} //*[@id="description"]
${MIGRATE_REPO_BUTTON} //button[contains(., "Migrate Repository")]
${BLAKE3_CLONE_URL} https://github.com/BLAKE3-team/BLAKE3
${BLAKE3_ABOUT_TEXT} official implementations of the BLAKE3 cryptographic hash function
${BLAKE3_REPO_LANGUAGE_STATS} //body/div[2]/div[2]/div[2]/div[4]/a
${BLAKE3_REPO_LANGUAGE_STATS} //body/div/div[2]/div[2]/div[4]/a
${BLAKE3_REPO_URL} https://git.dotya.ml/dat_test_usr/BLAKE3
*** Keywords ***

View File

@ -20,9 +20,9 @@ ${SEARCH_FIELD} //form/div/input
${SEARCH_BLAKE3_URL} https://git.dotya.ml/explore/repos?tab=&sort=recentupdate&q=BLAKE3
${DAT_TEST_USR_BLAKE3} //a[@href="/dat_test_usr/BLAKE3"]
${BLAKE3_MIRROR_URL} https://git.dotya.ml/dat_test_usr/BLAKE3
${REPO_SETTINGS} //body/div[2]/div[2]/div[1]/div[2]/div/div/a[@href="/dat_test_usr/BLAKE3/settings"]
${REPO_SETTINGS} //body/div/div[2]/div[1]/div[2]/div/div/a[@href="/dat_test_usr/BLAKE3/settings"]
${DELETE_REPO_BUTTON} //button[@data-modal="#delete-repo-modal"]
${REPO_NAME_INPUT} //body/div[3]/div/div[2]/form/div[2]/input
${REPO_NAME_INPUT} //body/div[2]/div/div[2]/form/div[2]/input
${BLAKE3_REPO_NAME} BLAKE3
${DELETE_REPO_FINAL_BUTTON} //*[@id="delete-repo-modal"]/div[2]/form/div[3]/button

View File

@ -16,10 +16,10 @@ ${SEARCH_FIELD} //form/div/input
${SEARCH_DOTFILES_URL} https://git.dotya.ml/explore/repos?tab=&sort=recentupdate&q=dotfiles
${WANDERER_DOTFILES_ENTRY} //a[@href="/wanderer/dotfiles"]
${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
${SHOW_STARGAZERS} //body/div/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]*
${STARGAZERS_LIST} //body/div/div[2]*
*** Keywords ***
Screenshot page

View File

@ -16,10 +16,10 @@ ${SEARCH_FIELD} //form/div/input
${SEARCH_DOTFILES_URL} https://git.dotya.ml/explore/repos?tab=&sort=recentupdate&q=dotfiles
${WANDERER_DOTFILES_ENTRY} //a[@href="/wanderer/dotfiles"]
${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
${SHOW_STARGAZERS} //body/div/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")]
${STARGAZERS_LIST} //body/div/div[2]/div[2]/ul/li/*[contains(text(), "dat_test_usr")]
*** Keywords ***
Screenshot page
@ -76,6 +76,7 @@ unstar wanderer's dotfiles repo
Set Window Size 1920 1080
Maximize Browser Window
Wait Until Element Is Visible ${LOGIN_BUTTON} timeout=10.0
Click Element ${LOGIN_BUTTON}
Sleep ${DELAY}
Screenshot page