remove failing test001 + show PWD up front
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
surtur 2020-05-09 21:07:01 +02:00
parent d035299984
commit b5c1c86a37
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
3 changed files with 2 additions and 27 deletions

View File

@ -16,6 +16,7 @@ steps:
- uname -r
- python --version
- robot --version || echo "rf loves to exit with code $(robot --version 2>&1 >/dev/null; echo $?)"
- pwd
- ls -la
- name: test000

View File

@ -14,6 +14,7 @@ Headless Chrome - Open Browser
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Sleep 1

View File

@ -1,27 +0,0 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://drone.dotya.ml/wanderer/docker-archlinux-cdev/
${BROWSER} headlesschrome
${RANDELEM} //section[@class='repo-item build-yes active-yes']
*** Test Cases ***
TC_001 - open browser and go to url
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} ${BROWSER} desired_capabilities=${options}
Wait Until Element Is Visible ${RANDELEM}
Click Element ${RANDELEM}
Log Location
Sleep 2
Capture Page Screenshot
Post-conditions
Log Location
Close Browser