fix alt test not running
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
surtur 2020-05-09 19:49:08 +02:00
parent ad61ab15ea
commit d035299984
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -8,8 +8,14 @@ ${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}
Open Browser ${URL} ${BROWSER} desired_capabilities=${options}
Wait Until Element Is Visible ${RANDELEM}
Click Element ${RANDELEM}
Log Location
@ -17,4 +23,5 @@ TC_001 - open browser and go to url
Capture Page Screenshot
Post-conditions
Log Location
Close Browser