diff --git a/robot_tests/home-https.robot b/robot_tests/home-https.robot index 3c5cfc3..00b2153 100644 --- a/robot_tests/home-https.robot +++ b/robot_tests/home-https.robot @@ -7,7 +7,13 @@ ${URL} https://home-page-home-page-1:8080 ${BROWSER} Chrome ${Options} options=add_argument("--ignore-certificate-errors") + *** Test Cases *** +Suite setup + New Browser ${BROWSER} ${HEADLESS} + args=['--allow-insecure-localhost'] + New Context ignoreHTTPSErrors=${True} bypassCSP=${True} + Open Page Welcome Page Should Be Open [Teardown] Close Browser @@ -15,8 +21,5 @@ Open Page *** Keywords *** Welcome Page Should Be Open - New Browser ${BROWSER} ${HEADLESS} - args=['--allow-insecure-localhost'] - New Context ignoreHTTPSErrors=${True} bypassCSP=${True} New Page ${URL} Title Should Be Mateusz Kowalkowski