remove failing test001 + show PWD up front
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
d035299984
commit
b5c1c86a37
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user