delete: removing the empty tests
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
4b929e2d59
commit
efe36d24d1
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
|
@ -1,31 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
${DELAY} 0.2
|
||||
|
||||
*** Keywords ***
|
||||
Screenshot page
|
||||
Capture Page Screenshot
|
||||
|
||||
*** Test Cases ***
|
||||
open homepage (mobile)
|
||||
# based on Pixel 2 XL mobile browser declared resolution
|
||||
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
|
||||
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
|
||||
${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
|
||||
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
|
||||
${options}= Call Method ${chrome_options} to_capabilities
|
||||
|
||||
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
|
||||
Set Selenium Speed ${DELAY}
|
||||
Screenshot page
|
||||
Log Location
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
23
test20.robot
23
test20.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
23
test21.robot
23
test21.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
23
test22.robot
23
test22.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
23
test23.robot
23
test23.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
23
test24.robot
23
test24.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
23
test25.robot
23
test25.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
23
test26.robot
23
test26.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
23
test27.robot
23
test27.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
23
test28.robot
23
test28.robot
|
@ -1,23 +0,0 @@
|
|||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://git.dotya.ml/
|
||||
${BROWSER} chrome
|
||||
|
||||
*** Test Cases ***
|
||||
just a page GET (+ screenshot)
|
||||
${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=${BROWSER} desired_capabilities=${options}
|
||||
|
||||
Capture Page Screenshot
|
||||
|
||||
Post-conditions
|
||||
Log Location
|
||||
Close Browser
|
Reference in New Issue