From 63298480d4443f9f33ff5042097272ac25cbd489 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 12 May 2020 14:33:18 +0200 Subject: [PATCH] added more tests, updated .drone.yml accordingly * [WIP] --- .drone.yml | 842 +++++++++++++++++++++++++++++++++++++++++++++++++ m-test01.robot | 31 ++ m-test02.robot | 31 ++ m-test03.robot | 31 ++ m-test04.robot | 31 ++ m-test05.robot | 31 ++ m-test06.robot | 31 ++ m-test07.robot | 31 ++ m-test08.robot | 31 ++ m-test09.robot | 31 ++ m-test10.robot | 31 ++ m-test11.robot | 31 ++ m-test12.robot | 31 ++ m-test13.robot | 31 ++ m-test14.robot | 31 ++ m-test15.robot | 31 ++ m-test16.robot | 31 ++ m-test17.robot | 31 ++ m-test18.robot | 31 ++ m-test19.robot | 31 ++ m-test20.robot | 31 ++ m-test21.robot | 31 ++ m-test22.robot | 31 ++ m-test23.robot | 31 ++ m-test24.robot | 31 ++ m-test25.robot | 31 ++ m-test26.robot | 31 ++ m-test27.robot | 31 ++ m-test28.robot | 31 ++ m-test29.robot | 31 ++ test10.robot | 23 ++ test11.robot | 23 ++ test12.robot | 23 ++ test13.robot | 23 ++ test14.robot | 23 ++ test15.robot | 23 ++ test16.robot | 23 ++ test17.robot | 23 ++ test18.robot | 23 ++ test19.robot | 23 ++ test20.robot | 23 ++ test21.robot | 23 ++ test22.robot | 23 ++ test23.robot | 23 ++ test24.robot | 23 ++ test25.robot | 23 ++ test26.robot | 23 ++ test27.robot | 23 ++ test28.robot | 23 ++ test29.robot | 23 ++ 50 files changed, 2201 insertions(+) create mode 100644 m-test01.robot create mode 100644 m-test02.robot create mode 100644 m-test03.robot create mode 100644 m-test04.robot create mode 100644 m-test05.robot create mode 100644 m-test06.robot create mode 100644 m-test07.robot create mode 100644 m-test08.robot create mode 100644 m-test09.robot create mode 100644 m-test10.robot create mode 100644 m-test11.robot create mode 100644 m-test12.robot create mode 100644 m-test13.robot create mode 100644 m-test14.robot create mode 100644 m-test15.robot create mode 100644 m-test16.robot create mode 100644 m-test17.robot create mode 100644 m-test18.robot create mode 100644 m-test19.robot create mode 100644 m-test20.robot create mode 100644 m-test21.robot create mode 100644 m-test22.robot create mode 100644 m-test23.robot create mode 100644 m-test24.robot create mode 100644 m-test25.robot create mode 100644 m-test26.robot create mode 100644 m-test27.robot create mode 100644 m-test28.robot create mode 100644 m-test29.robot create mode 100644 test10.robot create mode 100644 test11.robot create mode 100644 test12.robot create mode 100644 test13.robot create mode 100644 test14.robot create mode 100644 test15.robot create mode 100644 test16.robot create mode 100644 test17.robot create mode 100644 test18.robot create mode 100644 test19.robot create mode 100644 test20.robot create mode 100644 test21.robot create mode 100644 test22.robot create mode 100644 test23.robot create mode 100644 test24.robot create mode 100644 test25.robot create mode 100644 test26.robot create mode 100644 test27.robot create mode 100644 test28.robot create mode 100644 test29.robot diff --git a/.drone.yml b/.drone.yml index b8621d4..17f0bae 100644 --- a/.drone.yml +++ b/.drone.yml @@ -179,6 +179,326 @@ steps: depends_on: - reveal-env +- name: test10 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test10 + - robot -T -d results/${DRONE_STAGE_NAME}/test10 test10.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test11 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test11 + - robot -T -d results/${DRONE_STAGE_NAME}/test11 test11.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test12 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test12 + - robot -T -d results/${DRONE_STAGE_NAME}/test12 test12.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test13 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test13 + - robot -T -d results/${DRONE_STAGE_NAME}/test13 test13.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test14 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test14 + - robot -T -d results/${DRONE_STAGE_NAME}/test14 test14.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test15 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test15 + - robot -T -d results/${DRONE_STAGE_NAME}/test15 test15.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test16 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test16 + - robot -T -d results/${DRONE_STAGE_NAME}/test16 test16.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test17 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test17 + - robot -T -d results/${DRONE_STAGE_NAME}/test17 test17.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test18 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test18 + - robot -T -d results/${DRONE_STAGE_NAME}/test18 test18.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test19 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test19 + - robot -T -d results/${DRONE_STAGE_NAME}/test19 test19.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test20 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test20 + - robot -T -d results/${DRONE_STAGE_NAME}/test20 test20.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test21 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test21 + - robot -T -d results/${DRONE_STAGE_NAME}/test21 test21.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test22 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test22 + - robot -T -d results/${DRONE_STAGE_NAME}/test22 test22.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test23 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test23 + - robot -T -d results/${DRONE_STAGE_NAME}/test23 test23.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test24 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test24 + - robot -T -d results/${DRONE_STAGE_NAME}/test24 test24.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test25 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test25 + - robot -T -d results/${DRONE_STAGE_NAME}/test25 test25.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test26 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test26 + - robot -T -d results/${DRONE_STAGE_NAME}/test26 test26.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test27 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test27 + - robot -T -d results/${DRONE_STAGE_NAME}/test27 test27.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test28 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test28 + - robot -T -d results/${DRONE_STAGE_NAME}/test28 test28.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: test29 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/test29 + - robot -T -d results/${DRONE_STAGE_NAME}/test29 test29.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + - name: copy-cache pull: if-not-exists image: immawanderer/archlinux-rf:latest @@ -194,7 +514,36 @@ steps: - success - failure depends_on: + - test00 + - test01 + - test02 + - test03 + - test04 + - test05 + - test06 + - test07 + - test08 - test09 + - test10 + - test11 + - test12 + - test13 + - test14 + - test15 + - test16 + - test17 + - test18 + - test19 + - test20 + - test21 + - test22 + - test23 + - test24 + - test25 + - test26 + - test27 + - test28 + - test29 volumes: - name: cache @@ -238,6 +587,470 @@ steps: depends_on: - reveal-env +- name: m-test01 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test01 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test01 m-test01.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test02 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test02 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test02 m-test02.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test03 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test03 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test03 m-test03.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test04 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test04 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test04 m-test04.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test05 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test05 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test05 m-test05.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test06 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test06 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test06 m-test06.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test07 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test07 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test07 m-test07.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test08 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test08 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test08 m-test08.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test09 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test09 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test09 m-test09.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test10 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test10 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test10 m-test10.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test11 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test11 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test11 m-test11.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test12 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test12 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test12 m-test12.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test13 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test13 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test13 m-test13.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test14 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test14 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test14 m-test14.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test15 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test15 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test15 m-test15.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test16 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test16 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test16 m-test16.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test17 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test17 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test17 m-test17.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test18 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test18 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test18 m-test18.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test19 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test19 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test19 m-test19.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test20 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test20 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test20 m-test20.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test21 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test21 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test21 m-test21.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test22 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test22 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test22 m-test22.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test23 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test23 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test23 m-test23.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test24 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test24 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test24 m-test24.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test25 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test25 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test25 m-test25.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test26 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test26 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test26 m-test26.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test27 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test27 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test27 m-test27.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test28 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test28 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test28 m-test28.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + +- name: m-test29 + pull: if-not-exists + image: immawanderer/archlinux-rf:latest + volumes: + - name: shm + path: /dev/shm + commands: + - mkdir -pv results/${DRONE_STAGE_NAME}/m-test29 + - robot -T -d results/${DRONE_STAGE_NAME}/m-test29 m-test29.robot + when: + status: + - success + - failure + depends_on: + - reveal-env + - name: copy-cache pull: if-not-exists image: immawanderer/archlinux-rf:latest @@ -254,6 +1067,35 @@ steps: - failure depends_on: - m-test00 + - m-test01 + - m-test02 + - m-test03 + - m-test04 + - m-test05 + - m-test06 + - m-test07 + - m-test08 + - m-test09 + - m-test10 + - m-test11 + - m-test12 + - m-test13 + - m-test14 + - m-test15 + - m-test16 + - m-test17 + - m-test18 + - m-test19 + - m-test20 + - m-test21 + - m-test22 + - m-test23 + - m-test24 + - m-test25 + - m-test26 + - m-test27 + - m-test28 + - m-test29 volumes: - name: cache diff --git a/m-test01.robot b/m-test01.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test01.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test02.robot b/m-test02.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test02.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test03.robot b/m-test03.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test03.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test04.robot b/m-test04.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test04.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test05.robot b/m-test05.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test05.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test06.robot b/m-test06.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test06.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test07.robot b/m-test07.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test07.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test08.robot b/m-test08.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test08.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test09.robot b/m-test09.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test09.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test10.robot b/m-test10.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test10.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test11.robot b/m-test11.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test11.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test12.robot b/m-test12.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test12.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test13.robot b/m-test13.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test13.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test14.robot b/m-test14.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test14.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test15.robot b/m-test15.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test15.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test16.robot b/m-test16.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test16.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test17.robot b/m-test17.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test17.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test18.robot b/m-test18.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test18.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test19.robot b/m-test19.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test19.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test20.robot b/m-test20.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test20.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test21.robot b/m-test21.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test21.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test22.robot b/m-test22.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test22.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test23.robot b/m-test23.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test23.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test24.robot b/m-test24.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test24.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test25.robot b/m-test25.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test25.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test26.robot b/m-test26.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test26.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test27.robot b/m-test27.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test27.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test28.robot b/m-test28.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test28.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/m-test29.robot b/m-test29.robot new file mode 100644 index 0000000..89bc064 --- /dev/null +++ b/m-test29.robot @@ -0,0 +1,31 @@ +*** 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 diff --git a/test10.robot b/test10.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test10.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test11.robot b/test11.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test11.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test12.robot b/test12.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test12.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test13.robot b/test13.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test13.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test14.robot b/test14.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test14.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test15.robot b/test15.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test15.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test16.robot b/test16.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test16.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test17.robot b/test17.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test17.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test18.robot b/test18.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test18.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test19.robot b/test19.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test19.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test20.robot b/test20.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test20.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test21.robot b/test21.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test21.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test22.robot b/test22.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test22.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test23.robot b/test23.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test23.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test24.robot b/test24.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test24.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test25.robot b/test25.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test25.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test26.robot b/test26.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test26.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test27.robot b/test27.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test27.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test28.robot b/test28.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test28.robot @@ -0,0 +1,23 @@ +*** 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 diff --git a/test29.robot b/test29.robot new file mode 100644 index 0000000..b24dde2 --- /dev/null +++ b/test29.robot @@ -0,0 +1,23 @@ +*** 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