refactor: element locator updates + added longer timeouts
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
surtur 2020-07-12 17:26:35 +02:00
parent ae57d73d40
commit 8b42845430
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 5 additions and 4 deletions

View File

@ -77,7 +77,7 @@ create a mirror of a repository
Set Window Size 1920 1080
Maximize Browser Window
Wait Until Element Is Visible ${LOGIN_BUTTON}
Wait Until Element Is Visible ${LOGIN_BUTTON} timeout=10.0
Click Element ${LOGIN_BUTTON}
Sleep ${DELAY}
Screenshot page

View File

@ -16,9 +16,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
*** Keywords ***
@ -70,7 +70,7 @@ delete migrated repo
Set Window Size 1920 1080
Maximize Browser Window
Wait Until Element Is Visible ${LOGIN_BUTTON}
Wait Until Element Is Visible ${LOGIN_BUTTON} timeout=10.0
Click Element ${LOGIN_BUTTON}
Sleep ${DELAY}
Screenshot page
@ -117,6 +117,7 @@ delete migrated repo
Input Confirmation ${REPO_NAME_INPUT} ${BLAKE3_REPO_NAME}
Screenshot page
Press Keys None RETURN
Handle Alert
Screenshot page
Log Location
Dashboard page address