From fc943ca741eff695f2d2b1fc65befbca36acb972 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:36:42 +0100 Subject: [PATCH 01/15] Issue #491 - Upgrade Robot Framework to version 7.0.1 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index deff750..8f15752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,7 @@ ENV GECKO_DRIVER_VERSION v0.33.0 ENV IMAP_LIBRARY_VERSION 0.4.6 ENV PABOT_VERSION 2.18.0 ENV REQUESTS_VERSION 0.9.6 -ENV ROBOT_FRAMEWORK_VERSION 7.0 +ENV ROBOT_FRAMEWORK_VERSION 7.0.1 ENV SELENIUM_LIBRARY_VERSION 6.2.0 ENV SSH_LIBRARY_VERSION 3.8.0 ENV XVFB_VERSION 1.20 diff --git a/README.md b/README.md index 24691a5..45b440e 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ The versioning of this image follows the one of Robot Framework: The versions used are: -* [Robot Framework](https://github.com/robotframework/robotframework) 7.0 +* [Robot Framework](https://github.com/robotframework/robotframework) 7.0.1 * [Robot Framework Browser (Playwright) Library](https://github.com/MarketSquare/robotframework-browser) 18.0.0 * [Robot Framework DatabaseLibrary](https://github.com/franz-see/Robotframework-Database-Library) 1.4.3 * [Robot Framework Datadriver](https://github.com/Snooz82/robotframework-datadriver) 1.10.0 From d277619699ef980c198732ac5614b85e43be54c5 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:37:49 +0100 Subject: [PATCH 02/15] Issue #492 - Upgrade the Browser library to version 18.6.3 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f15752..bfc8122 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ ENV ROBOT_GID 1000 # Dependency versions ENV AWS_CLI_VERSION 1.32.36 ENV AXE_SELENIUM_LIBRARY_VERSION 2.1.6 -ENV BROWSER_LIBRARY_VERSION 18.0.0 +ENV BROWSER_LIBRARY_VERSION 18.6.3 ENV CHROMIUM_VERSION 122.0 ENV DATABASE_LIBRARY_VERSION 1.4.3 ENV DATADRIVER_VERSION 1.10.0 diff --git a/README.md b/README.md index 45b440e..1ef5e76 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ The versioning of this image follows the one of Robot Framework: The versions used are: * [Robot Framework](https://github.com/robotframework/robotframework) 7.0.1 -* [Robot Framework Browser (Playwright) Library](https://github.com/MarketSquare/robotframework-browser) 18.0.0 +* [Robot Framework Browser (Playwright) Library](https://github.com/MarketSquare/robotframework-browser) 18.6.3 * [Robot Framework DatabaseLibrary](https://github.com/franz-see/Robotframework-Database-Library) 1.4.3 * [Robot Framework Datadriver](https://github.com/Snooz82/robotframework-datadriver) 1.10.0 * [Robot Framework DateTimeTZ](https://github.com/testautomation/DateTimeTZ) 1.0.6 From de6b920b8d23d612dd01e568229315af2ecee9bd Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:38:48 +0100 Subject: [PATCH 03/15] Issue #493 - Upgrade the database library to version 1.4.4 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bfc8122..261f07c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ ENV AWS_CLI_VERSION 1.32.36 ENV AXE_SELENIUM_LIBRARY_VERSION 2.1.6 ENV BROWSER_LIBRARY_VERSION 18.6.3 ENV CHROMIUM_VERSION 122.0 -ENV DATABASE_LIBRARY_VERSION 1.4.3 +ENV DATABASE_LIBRARY_VERSION 1.4.4 ENV DATADRIVER_VERSION 1.10.0 ENV DATETIMETZ_VERSION 1.0.6 ENV MICROSOFT_EDGE_VERSION 121.0.2277.106 diff --git a/README.md b/README.md index 1ef5e76..23bf858 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ The versions used are: * [Robot Framework](https://github.com/robotframework/robotframework) 7.0.1 * [Robot Framework Browser (Playwright) Library](https://github.com/MarketSquare/robotframework-browser) 18.6.3 -* [Robot Framework DatabaseLibrary](https://github.com/franz-see/Robotframework-Database-Library) 1.4.3 +* [Robot Framework DatabaseLibrary](https://github.com/franz-see/Robotframework-Database-Library) 1.4.4 * [Robot Framework Datadriver](https://github.com/Snooz82/robotframework-datadriver) 1.10.0 * [Robot Framework DateTimeTZ](https://github.com/testautomation/DateTimeTZ) 1.0.6 * [Robot Framework Faker](https://github.com/guykisel/robotframework-faker) 5.0.0 From fa1e90044bd061ad30b1aebaab13916ea086380f Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:39:58 +0100 Subject: [PATCH 04/15] Issue #494 - Upgrade the data driver library to version 1.11.2 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 261f07c..5260052 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ ENV AXE_SELENIUM_LIBRARY_VERSION 2.1.6 ENV BROWSER_LIBRARY_VERSION 18.6.3 ENV CHROMIUM_VERSION 122.0 ENV DATABASE_LIBRARY_VERSION 1.4.4 -ENV DATADRIVER_VERSION 1.10.0 +ENV DATADRIVER_VERSION 1.11.2 ENV DATETIMETZ_VERSION 1.0.6 ENV MICROSOFT_EDGE_VERSION 121.0.2277.106 ENV FAKER_VERSION 5.0.0 diff --git a/README.md b/README.md index 23bf858..c0bf05b 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ The versions used are: * [Robot Framework](https://github.com/robotframework/robotframework) 7.0.1 * [Robot Framework Browser (Playwright) Library](https://github.com/MarketSquare/robotframework-browser) 18.6.3 * [Robot Framework DatabaseLibrary](https://github.com/franz-see/Robotframework-Database-Library) 1.4.4 -* [Robot Framework Datadriver](https://github.com/Snooz82/robotframework-datadriver) 1.10.0 +* [Robot Framework Datadriver](https://github.com/Snooz82/robotframework-datadriver) 1.11.2 * [Robot Framework DateTimeTZ](https://github.com/testautomation/DateTimeTZ) 1.0.6 * [Robot Framework Faker](https://github.com/guykisel/robotframework-faker) 5.0.0 * [Robot Framework FTPLibrary](https://github.com/kowalpy/Robot-Framework-FTP-Library) 1.9 From 5bdf3f9dbd8ace920ef08df32d9a53cdb18fb4e6 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:42:00 +0100 Subject: [PATCH 05/15] Issue #495 - Upgrade the Requests library to version 0.9.7 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5260052..07270a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ ENV FTP_LIBRARY_VERSION 1.9 ENV GECKO_DRIVER_VERSION v0.33.0 ENV IMAP_LIBRARY_VERSION 0.4.6 ENV PABOT_VERSION 2.18.0 -ENV REQUESTS_VERSION 0.9.6 +ENV REQUESTS_VERSION 0.9.7 ENV ROBOT_FRAMEWORK_VERSION 7.0.1 ENV SELENIUM_LIBRARY_VERSION 6.2.0 ENV SSH_LIBRARY_VERSION 3.8.0 diff --git a/README.md b/README.md index c0bf05b..037f30a 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ The versions used are: * [Robot Framework FTPLibrary](https://github.com/kowalpy/Robot-Framework-FTP-Library) 1.9 * [Robot Framework IMAPLibrary 2](https://pypi.org/project/robotframework-imaplibrary2/) 0.4.6 * [Robot Framework Pabot](https://github.com/mkorpela/pabot) 2.18.0 -* [Robot Framework Requests](https://github.com/bulkan/robotframework-requests) 0.9.6 +* [Robot Framework Requests](https://github.com/bulkan/robotframework-requests) 0.9.7 * [Robot Framework SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) 6.2.0 * [Robot Framework SSHLibrary](https://github.com/robotframework/SSHLibrary) 3.8.0 * [Axe Selenium Library](https://github.com/mozilla-services/axe-selenium-python) 2.1.6 From 2058e45bd31fc78e530978afffc878a7368b2b8a Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:43:04 +0100 Subject: [PATCH 06/15] Issue #496 - Upgrade the Selenium library to version 6.4.0 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 07270a4..0be1470 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,7 @@ ENV IMAP_LIBRARY_VERSION 0.4.6 ENV PABOT_VERSION 2.18.0 ENV REQUESTS_VERSION 0.9.7 ENV ROBOT_FRAMEWORK_VERSION 7.0.1 -ENV SELENIUM_LIBRARY_VERSION 6.2.0 +ENV SELENIUM_LIBRARY_VERSION 6.4.0 ENV SSH_LIBRARY_VERSION 3.8.0 ENV XVFB_VERSION 1.20 diff --git a/README.md b/README.md index 037f30a..9565d5c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ The versions used are: * [Robot Framework IMAPLibrary 2](https://pypi.org/project/robotframework-imaplibrary2/) 0.4.6 * [Robot Framework Pabot](https://github.com/mkorpela/pabot) 2.18.0 * [Robot Framework Requests](https://github.com/bulkan/robotframework-requests) 0.9.7 -* [Robot Framework SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) 6.2.0 +* [Robot Framework SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) 6.4.0 * [Robot Framework SSHLibrary](https://github.com/robotframework/SSHLibrary) 3.8.0 * [Axe Selenium Library](https://github.com/mozilla-services/axe-selenium-python) 2.1.6 * Firefox 123.0 From 894192f58ec641a72eaa71268b8457c3811d6f55 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:45:06 +0100 Subject: [PATCH 07/15] Issue #497 - Upgrade the AWS CLI to version 1.33.23 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0be1470..61fe0a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ ENV ROBOT_UID 1000 ENV ROBOT_GID 1000 # Dependency versions -ENV AWS_CLI_VERSION 1.32.36 +ENV AWS_CLI_VERSION 1.33.23 ENV AXE_SELENIUM_LIBRARY_VERSION 2.1.6 ENV BROWSER_LIBRARY_VERSION 18.6.3 ENV CHROMIUM_VERSION 122.0 diff --git a/README.md b/README.md index 9565d5c..7e8e47e 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ The versions used are: * Firefox 123.0 * Chromium 122.0 * Microsoft Edge 121.0.2277.106 -* [Amazon AWS CLI](https://pypi.org/project/awscli/) 1.32.36 +* [Amazon AWS CLI](https://pypi.org/project/awscli/) 1.33.23 As stated by [the official GitHub project](https://github.com/robotframework/Selenium2Library), starting from version 3.0, Selenium2Library is renamed to SeleniumLibrary and this project exists mainly to help with transitioning. The Selenium2Library 3.0.0 is also the last release and for new releases, please look at the [SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) project. From 74e1184ddab42bf2b511ac1c0b87e6f3f0cead7f Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:46:11 +0100 Subject: [PATCH 08/15] Issue #498 - Upgrade the base image to Fedora 40 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 61fe0a7..92f021a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM fedora:39 +FROM fedora:40 MAINTAINER Paul Podgorsek LABEL description Robot Framework in Docker. From 478570fb7343cf731b10eaa0463039db33a158c3 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:47:21 +0100 Subject: [PATCH 09/15] Issue #499 - Upgrade Firefox to version 127.0 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 92f021a..835202c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ ENV DATADRIVER_VERSION 1.11.2 ENV DATETIMETZ_VERSION 1.0.6 ENV MICROSOFT_EDGE_VERSION 121.0.2277.106 ENV FAKER_VERSION 5.0.0 -ENV FIREFOX_VERSION 123.0 +ENV FIREFOX_VERSION 127.0 ENV FTP_LIBRARY_VERSION 1.9 ENV GECKO_DRIVER_VERSION v0.33.0 ENV IMAP_LIBRARY_VERSION 0.4.6 diff --git a/README.md b/README.md index 7e8e47e..5caa0c7 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ The versions used are: * [Robot Framework SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) 6.4.0 * [Robot Framework SSHLibrary](https://github.com/robotframework/SSHLibrary) 3.8.0 * [Axe Selenium Library](https://github.com/mozilla-services/axe-selenium-python) 2.1.6 -* Firefox 123.0 +* Firefox 127.0 * Chromium 122.0 * Microsoft Edge 121.0.2277.106 * [Amazon AWS CLI](https://pypi.org/project/awscli/) 1.33.23 From 04a9d4f9c8ba7d7c2be74b38ad07ac6c93497763 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 08:48:08 +0100 Subject: [PATCH 10/15] Issue #500 - Upgrade Chromium to version 126.0 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 835202c..881e500 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ ENV ROBOT_GID 1000 ENV AWS_CLI_VERSION 1.33.23 ENV AXE_SELENIUM_LIBRARY_VERSION 2.1.6 ENV BROWSER_LIBRARY_VERSION 18.6.3 -ENV CHROMIUM_VERSION 122.0 +ENV CHROMIUM_VERSION 126.0 ENV DATABASE_LIBRARY_VERSION 1.4.4 ENV DATADRIVER_VERSION 1.11.2 ENV DATETIMETZ_VERSION 1.0.6 diff --git a/README.md b/README.md index 5caa0c7..e1205d9 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ The versions used are: * [Robot Framework SSHLibrary](https://github.com/robotframework/SSHLibrary) 3.8.0 * [Axe Selenium Library](https://github.com/mozilla-services/axe-selenium-python) 2.1.6 * Firefox 127.0 -* Chromium 122.0 +* Chromium 126.0 * Microsoft Edge 121.0.2277.106 * [Amazon AWS CLI](https://pypi.org/project/awscli/) 1.33.23 From 471a815dc6a691adc54bb24bc8014af98df99e82 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Tue, 9 Jul 2024 09:29:00 +0100 Subject: [PATCH 11/15] Issue #501 - Upgrade Microsoft Edge to version 124.0.2477.0 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 881e500..2c009c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ ENV CHROMIUM_VERSION 126.0 ENV DATABASE_LIBRARY_VERSION 1.4.4 ENV DATADRIVER_VERSION 1.11.2 ENV DATETIMETZ_VERSION 1.0.6 -ENV MICROSOFT_EDGE_VERSION 121.0.2277.106 +ENV MICROSOFT_EDGE_VERSION 124.0.2477.0 ENV FAKER_VERSION 5.0.0 ENV FIREFOX_VERSION 127.0 ENV FTP_LIBRARY_VERSION 1.9 diff --git a/README.md b/README.md index e1205d9..f148464 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ The versions used are: * [Axe Selenium Library](https://github.com/mozilla-services/axe-selenium-python) 2.1.6 * Firefox 127.0 * Chromium 126.0 -* Microsoft Edge 121.0.2277.106 +* Microsoft Edge 124.0.2477.0 * [Amazon AWS CLI](https://pypi.org/project/awscli/) 1.33.23 As stated by [the official GitHub project](https://github.com/robotframework/Selenium2Library), starting from version 3.0, Selenium2Library is renamed to SeleniumLibrary and this project exists mainly to help with transitioning. The Selenium2Library 3.0.0 is also the last release and for new releases, please look at the [SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) project. From 941d65c593674b2a698d6ba6bf75a9046718f2d4 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Thu, 11 Jul 2024 21:54:07 +0100 Subject: [PATCH 12/15] Revert "Issue #496 - Upgrade the Selenium library to version 6.4.0" This reverts commit 2058e45bd31fc78e530978afffc878a7368b2b8a. --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c009c8..1e558f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,7 @@ ENV IMAP_LIBRARY_VERSION 0.4.6 ENV PABOT_VERSION 2.18.0 ENV REQUESTS_VERSION 0.9.7 ENV ROBOT_FRAMEWORK_VERSION 7.0.1 -ENV SELENIUM_LIBRARY_VERSION 6.4.0 +ENV SELENIUM_LIBRARY_VERSION 6.2.0 ENV SSH_LIBRARY_VERSION 3.8.0 ENV XVFB_VERSION 1.20 diff --git a/README.md b/README.md index f148464..bd43e9c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ The versions used are: * [Robot Framework IMAPLibrary 2](https://pypi.org/project/robotframework-imaplibrary2/) 0.4.6 * [Robot Framework Pabot](https://github.com/mkorpela/pabot) 2.18.0 * [Robot Framework Requests](https://github.com/bulkan/robotframework-requests) 0.9.7 -* [Robot Framework SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) 6.4.0 +* [Robot Framework SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) 6.2.0 * [Robot Framework SSHLibrary](https://github.com/robotframework/SSHLibrary) 3.8.0 * [Axe Selenium Library](https://github.com/mozilla-services/axe-selenium-python) 2.1.6 * Firefox 127.0 From bb18f8c3287f76d8c1b1ab0c38a3c31a66c1aad7 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Thu, 11 Jul 2024 23:57:16 +0100 Subject: [PATCH 13/15] Issue #501 - Upgrade Microsoft Edge to version 126.0.2592.87 --- Dockerfile | 21 +++++++-------------- README.md | 2 +- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1e558f0..9a73b78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ ENV CHROMIUM_VERSION 126.0 ENV DATABASE_LIBRARY_VERSION 1.4.4 ENV DATADRIVER_VERSION 1.11.2 ENV DATETIMETZ_VERSION 1.0.6 -ENV MICROSOFT_EDGE_VERSION 124.0.2477.0 +ENV MICROSOFT_EDGE_VERSION 126.0.2592.87 ENV FAKER_VERSION 5.0.0 ENV FIREFOX_VERSION 127.0 ENV FTP_LIBRARY_VERSION 1.9 @@ -66,16 +66,17 @@ RUN dnf upgrade -y --refresh \ chromedriver-${CHROMIUM_VERSION}* \ chromium-${CHROMIUM_VERSION}* \ dbus-glib \ + dnf-plugins-core \ firefox-${FIREFOX_VERSION}* \ gcc \ gcc-c++ \ - npm \ nodejs \ + npm \ python3-pip \ python3-pyyaml \ tzdata \ + wget \ xorg-x11-server-Xvfb-${XVFB_VERSION}* \ - dnf-plugins-core \ && dnf clean all # FIXME: below is a workaround, as the path is ignored @@ -106,26 +107,18 @@ RUN pip3 install \ selenium==4.9.0 # Gecko drivers -RUN dnf install -y \ - wget \ - - # Download Gecko drivers directly from the GitHub repository - && wget -q "https://github.com/mozilla/geckodriver/releases/download/$GECKO_DRIVER_VERSION/geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz" \ +# Download Gecko drivers directly from the GitHub repository +RUN wget -q "https://github.com/mozilla/geckodriver/releases/download/$GECKO_DRIVER_VERSION/geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz" \ && tar xzf geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz \ && mkdir -p /opt/robotframework/drivers/ \ && mv geckodriver /opt/robotframework/drivers/geckodriver \ - && rm geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz \ - - && dnf remove -y \ - wget \ - && dnf clean all + && rm geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz # Install Microsoft Edge & webdriver RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc \ && dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge \ && dnf install -y \ microsoft-edge-stable-${MICROSOFT_EDGE_VERSION} \ - wget \ zip \ && wget -q "https://msedgedriver.azureedge.net/${MICROSOFT_EDGE_VERSION}/edgedriver_linux64.zip" \ diff --git a/README.md b/README.md index bd43e9c..2a1c327 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ The versions used are: * [Axe Selenium Library](https://github.com/mozilla-services/axe-selenium-python) 2.1.6 * Firefox 127.0 * Chromium 126.0 -* Microsoft Edge 124.0.2477.0 +* Microsoft Edge 126.0.2592.87 * [Amazon AWS CLI](https://pypi.org/project/awscli/) 1.33.23 As stated by [the official GitHub project](https://github.com/robotframework/Selenium2Library), starting from version 3.0, Selenium2Library is renamed to SeleniumLibrary and this project exists mainly to help with transitioning. The Selenium2Library 3.0.0 is also the last release and for new releases, please look at the [SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) project. From 9b2fe8a5d17f644ecd31dc2d6b4cb0b25900b683 Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Thu, 11 Jul 2024 23:58:33 +0100 Subject: [PATCH 14/15] Issue #499 - Upgrade Firefox to version 128.0 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9a73b78..3af3a2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ ENV DATADRIVER_VERSION 1.11.2 ENV DATETIMETZ_VERSION 1.0.6 ENV MICROSOFT_EDGE_VERSION 126.0.2592.87 ENV FAKER_VERSION 5.0.0 -ENV FIREFOX_VERSION 127.0 +ENV FIREFOX_VERSION 128.0 ENV FTP_LIBRARY_VERSION 1.9 ENV GECKO_DRIVER_VERSION v0.33.0 ENV IMAP_LIBRARY_VERSION 0.4.6 diff --git a/README.md b/README.md index 2a1c327..1e923ef 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ The versions used are: * [Robot Framework SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary) 6.2.0 * [Robot Framework SSHLibrary](https://github.com/robotframework/SSHLibrary) 3.8.0 * [Axe Selenium Library](https://github.com/mozilla-services/axe-selenium-python) 2.1.6 -* Firefox 127.0 +* Firefox 128.0 * Chromium 126.0 * Microsoft Edge 126.0.2592.87 * [Amazon AWS CLI](https://pypi.org/project/awscli/) 1.33.23 From 4a5397048da64b6332efcddb305a994ab951f49e Mon Sep 17 00:00:00 2001 From: Paul Podgorsek Date: Fri, 12 Jul 2024 00:00:38 +0100 Subject: [PATCH 15/15] Issue #492 - Upgrade the Browser library to version 18.6.3 * Addressed issues with the Browser library, which cannot handle Microsoft Edge nor local browser installations --- .github/workflows/docker-build.yml | 133 +---------------------------- Dockerfile | 3 +- test/browser-library.robot | 24 ++---- 3 files changed, 14 insertions(+), 146 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 20c13f8..1160b84 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,14 +1,12 @@ -name: Docker +name: Robot Framework in Docker on: push: # Publish `master` as Docker `latest` image. + # Release branches will trigger the creation of a git tag if the build is successful branches: - master - - # Publish `v1.2.3` tags as releases. - tags: - - '*' + - release/* # Run tests for any PRs. pull_request: @@ -27,6 +25,7 @@ jobs: matrix: include: - browser: "chrome" + - browser: "edge" - browser: "firefox" env: BROWSER: ${{ matrix.browser }} @@ -155,127 +154,3 @@ jobs: -e BROWSER=$BROWSER \ -e TZ="America/New_York" \ $IMAGE_NAME - - # Build and run tests for Microsoft Edge. - # This must be processed separately from Firefox and Chrome, due to the Browser library not handling Microsoft Edge by default - # and having no easy way to install new browsers unfortunately. - build-microsoft-edge: - runs-on: ubuntu-latest - env: - BROWSER: "edge" - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Build image - run: - podman build . --tag $IMAGE_NAME --file Dockerfile - - name: Basic Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/faker.robot:/opt/robotframework/tests/faker.robot:Z \ - -v `pwd`/test/requests.robot:/opt/robotframework/tests/requests.robot:Z \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -v `pwd`/test/timezones.robot:/opt/robotframework/tests/timezones.robot:Z \ - -e BROWSER=$BROWSER \ - $IMAGE_NAME - - name: Test dependency installation - run: | - podman run --shm-size=1g \ - -v `pwd`/test/pip-dependencies/main.robot:/opt/robotframework/tests/pip-dependencies.robot:Z \ - -v `pwd`/test/pip-dependencies/requirements.txt:/opt/robotframework/pip-requirements.txt:Z \ - -e BROWSER=$BROWSER \ - $IMAGE_NAME - - name: Colour Depth 16 Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -e BROWSER=$BROWSER \ - -e SCREEN_COLOUR_DEPTH=16 \ - $IMAGE_NAME - - name: Screen Width 800x600 Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -e BROWSER=$BROWSER \ - -e SCREEN_WIDTH=800 \ - -e SCREEN_HEIGHT=600 \ - $IMAGE_NAME - - name: Screen Width 1024x768 Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -e BROWSER=$BROWSER \ - -e SCREEN_WIDTH=1024 \ - -e SCREEN_HEIGHT=768 \ - $IMAGE_NAME - - name: Screen Width 1280x1024 Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -e BROWSER=$BROWSER \ - -e SCREEN_WIDTH=1280 \ - -e SCREEN_HEIGHT=1024 \ - $IMAGE_NAME - - name: Screen Width 2560x1440 Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -e BROWSER=$BROWSER \ - -e SCREEN_WIDTH=2560 \ - -e SCREEN_HEIGHT=1440 \ - $IMAGE_NAME - - name: Screen Width 3840x2160 Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -e BROWSER=$BROWSER \ - -e SCREEN_WIDTH=3840 \ - -e SCREEN_HEIGHT=2160 \ - $IMAGE_NAME - - name: Debug Log Level Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/faker.robot:/opt/robotframework/tests/faker.robot:Z \ - -e BROWSER=$BROWSER \ - -e ROBOT_OPTIONS="--loglevel DEBUG" \ - $IMAGE_NAME - - name: Basic Multithreaded Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/faker.robot:/opt/robotframework/tests/faker.robot:Z \ - -v `pwd`/test/requests.robot:/opt/robotframework/tests/requests.robot:Z \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -v `pwd`/test/timezones.robot:/opt/robotframework/tests/timezones.robot:Z \ - -e BROWSER=$BROWSER \ - -e ROBOT_THREADS=4 \ - $IMAGE_NAME - - name: Test Level Multithreaded Test - run: | - podman run --shm-size=1g \ - -v `pwd`/test/faker.robot:/opt/robotframework/tests/faker.robot:Z \ - -v `pwd`/test/requests.robot:/opt/robotframework/tests/requests.robot:Z \ - -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \ - -v `pwd`/test/timezones.robot:/opt/robotframework/tests/timezones.robot:Z \ - -e BROWSER=$BROWSER \ - -e ROBOT_THREADS=4 \ - -e PABOT_OPTIONS="--testlevelsplit" \ - $IMAGE_NAME - - name: Custom User Test - run: | - podman run --user=2000 --shm-size=1g \ - -v `pwd`/test/faker.robot:/opt/robotframework/tests/faker.robot:Z \ - -e BROWSER=$BROWSER \ - $IMAGE_NAME - - name: Custom User and Group Test - run: | - podman run --user=2000:2000 --shm-size=1g \ - -v `pwd`/test/faker.robot:/opt/robotframework/tests/faker.robot:Z \ - -e BROWSER=$BROWSER \ - $IMAGE_NAME - - name: Datetime - run: | - podman run --user=2000:2000 --shm-size=1g \ - -v `pwd`/test/timezones.robot:/opt/robotframework/tests/timezones.robot:Z \ - -e BROWSER=$BROWSER \ - -e TZ="America/New_York" \ - $IMAGE_NAME diff --git a/Dockerfile b/Dockerfile index 3af3a2a..5d6597d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -134,7 +134,8 @@ RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc \ ENV PATH=/opt/microsoft/msedge:$PATH # FIXME: Playright currently doesn't support relying on system browsers, which is why the `--skip-browsers` parameter cannot be used here. -RUN rfbrowser init +# Additionally, it cannot run fully on any OS due to https://github.com/microsoft/playwright/issues/29559 +RUN rfbrowser init chromium firefox # Create the default report and work folders with the default user to avoid runtime issues # These folders are writeable by anyone, to ensure the user can be changed on the command line. diff --git a/test/browser-library.robot b/test/browser-library.robot index cedbc68..7515db9 100644 --- a/test/browser-library.robot +++ b/test/browser-library.robot @@ -3,33 +3,25 @@ Library Browser *** Variables *** # There is a conflict between browser names used by Selenium (using "chrome") and Browser (using "chromium") -# This is why the browser is currently fixed for the Browser Library. +# Additionally, the Browser library isn't flexible at all and forbids any branded browser +# See SupportedBrowsers: https://marketsquare.github.io/robotframework-browser/Browser.html#New%20Browser ${BROWSER} %{BROWSER} *** Test Cases *** Visit Bing - IF "${BROWSER}" == 'chrome' - New Browser chromium - ELSE - New Browser ${BROWSER} - END + Run Keyword If "${BROWSER}" == 'chrome' or "${BROWSER}" == 'edge' New Browser chromium + Run Keyword If "${BROWSER}" != 'chrome' and "${BROWSER}" != 'edge' New Browser browser=${BROWSER} New Page https://www.bing.com Take Screenshot Visit Google - IF "${BROWSER}" == 'chrome' - New Browser chromium - ELSE - New Browser ${BROWSER} - END + Run Keyword If "${BROWSER}" == 'chrome' or "${BROWSER}" == 'edge' New Browser chromium + Run Keyword If "${BROWSER}" != 'chrome' and "${BROWSER}" != 'edge' New Browser browser=${BROWSER} New Page https://www.google.com Take Screenshot Visit Yahoo - IF "${BROWSER}" == 'chrome' - New Browser chromium - ELSE - New Browser ${BROWSER} - END + Run Keyword If "${BROWSER}" == 'chrome' or "${BROWSER}" == 'edge' New Browser chromium + Run Keyword If "${BROWSER}" != 'chrome' and "${BROWSER}" != 'edge' New Browser browser=${BROWSER} New Page https://search.yahoo.com Take Screenshot