Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7c04d02
Updating selenium and robotframework versions we test against
emanlove Jun 15, 2025
42399b6
Fixed required version syntax
emanlove Jun 15, 2025
0f550e0
Bump lower Python version tested to 3.9
emanlove Jun 15, 2025
33135cf
Updated expected error messages on a couple tests
emanlove Jun 18, 2025
38e784d
Trying out key value pairs on python version for more expressive matrix
emanlove Jun 18, 2025
3f135fb
Limit test matrix to latest python version and latest rf version
emanlove Jun 18, 2025
b54e4ba
Uniquely name the artifacts
emanlove Jun 18, 2025
4f94745
Try slight delay in mouse over test
emanlove Jun 18, 2025
46351bf
Try slight delay in mouse over error test
emanlove Jun 18, 2025
30df944
Try slowing down tests a bit
emanlove Jun 19, 2025
6780fbb
Trying RF verion 7.2.2
emanlove Jun 19, 2025
86ac810
Put back in previous selenium versions
emanlove Jun 19, 2025
f493acb
Added install chromedriver along side of chrome
emanlove Jun 19, 2025
52faa86
Trying Chrome version 138
emanlove Jun 19, 2025
db74c43
Trying chrome version 137 ..
emanlove Jun 19, 2025
eeec4b5
Turn off Chrome password leak detector
emanlove Aug 3, 2025
8c9307b
Tweak some timing on the alert tests
emanlove Aug 3, 2025
a8468c2
Trying to get v138 chromedriver ..
emanlove Aug 3, 2025
467edb7
Expanding out the version text matrix verifying we are still good acr…
emanlove Aug 3, 2025
b1dd105
Add latest selenium version 4.34.2 into test matrix
emanlove Aug 3, 2025
573b36d
Removed sleep and extended expected timeout.
emanlove Aug 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
continue-on-error: true
strategy:
matrix:
python-version: [3.8, 3.13.0] # pypy-3.9
rf-version: [6.1.1, 7.1.1]
selenium-version: [4.24.0, 4.25.0, 4.26.1, 4.27.1]
browser: [firefox, chrome, headlesschrome] #edge
python-version: [3.9.23, 3.13.5] # pypy-3.9
# python-version: [{earliest: 3.9}, {latest: 3.13.0}] # pypy-3.9
rf-version: [6.1.1, 7.3.2]
selenium-version: [4.28.1, 4.29.0, 4.30.0, 4.31.0, 4.32.0, 4.33.0, 4.34.2]
browser: [chrome] # firefox, chrome, headlesschrome, edge

steps:
- uses: actions/checkout@v4
Expand All @@ -21,9 +22,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Setup Chrome
uses: browser-actions/setup-chrome@latest
uses: browser-actions/setup-chrome@v1
with:
chrome-version: latest
chrome-version: 138
install-dependencies: true
install-chromedriver: true
id: setup-chrome
- run: |
echo Installed chromium version: ${{ steps.setup-chrome.outputs.chrome-version }}
Expand Down Expand Up @@ -75,8 +78,13 @@ jobs:
run: |
xvfb-run --auto-servernum python atest/run.py --nounit --zip headlesschrome

- name: Run tests with ${{ matrix.browser }} if CPython
if: startsWith( matrix.python-version, 'pypy') == false
# - name: Run tests with ${{ matrix.browser }} if CPython
# if: startsWith( matrix.python-version, 'pypy') == false
# run: |
# xvfb-run --auto-servernum python atest/run.py --zip ${{ matrix.browser }}

- name: Run tests with latest python and latest robot framework
if: matrix.python-version == '3.13.0' && matrix.rf-version == '7.2.2'
run: |
xvfb-run --auto-servernum python atest/run.py --zip ${{ matrix.browser }}

Expand All @@ -90,6 +98,6 @@ jobs:
- uses: actions/upload-artifact@v4
if: failure()
with:
name: SeleniumLibrary Test results
name: sl_$${{ matrix.python-version }}_$${{ matrix.rf-version }}_$${{ matrix.selenium-version }}_$${{ matrix.browser }}
path: atest/zip_results
overwrite: true
2 changes: 1 addition & 1 deletion atest/acceptance/keywords/alerts.robot
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Handle Alert returns message

Handle Alert with custom timeout
Click Button Slow alert
Handle Alert timeout=1s
Handle Alert timeout=2s
Click Button Slow alert
Run Keyword And Expect Error
... Alert not found in 1 millisecond.
Expand Down
2 changes: 1 addition & 1 deletion atest/acceptance/keywords/expected_conditions.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Wait For Expected Conditions One Argument
Title Should Be Delayed

Wait For Expected Condition Times out within set timeout
[Documentation] FAIL REGEXP: TimeoutException: Message: Expected Condition not met within set timeout of 0.3*
[Documentation] FAIL STARTS: TimeoutException: Message: Expected Condition not met within set timeout of 0.3
Title Should Be Original
Click Element link=delayed change title
Wait For Expected Condition title_is Delayed timeout=0.3
Expand Down
2 changes: 2 additions & 0 deletions atest/acceptance/keywords/mouse.robot
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Resource ../resource.robot
Mouse Over
[Tags] Known Issue Safari
Mouse Over el_for_mouseover
Sleep 0.1secs
Textfield Value Should Be el_for_mouseover mouseover el_for_mouseover
Run Keyword And Expect Error
... Element with locator 'not_there' not found.
Expand All @@ -16,6 +17,7 @@ Mouse Over
Mouse Over Error
[Tags] Known Issue Safari
Mouse Over el_for_mouseover
Sleep 0.1secs
Textfield Value Should Be el_for_mouseover mouseover el_for_mouseover
Run Keyword And Expect Error
... Element with locator '鱼在天空中飞翔' not found.
Expand Down
2 changes: 1 addition & 1 deletion atest/acceptance/keywords/run_on_failure.robot
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Run on Failure Returns Previous Value
Should Be Equal ${old} Log Title

Run On Failure also fails
[Documentation] LOG 2.1 WARN Keyword 'Failure During Run On failure' could not be run on failure: Expected error.
[Documentation] LOG 2.1.2 WARN Keyword 'Failure During Run On failure' could not be run on failure: Expected error.
Register Keyword to Run on Failure Failure During Run On failure
Run Keyword And Expect Error
... ${FAILURE MESSAGE}
Expand Down
8 changes: 8 additions & 0 deletions atest/acceptance/keywords/textfields.robot
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*** Settings ***
Suite Setup Open Browser To Start Page Disabling Chrome Leaked Password Detection
Test Setup Go To Page "forms/prefilled_email_form.html"
Resource ../resource.robot
Force Tags Known Issue Internet Explorer
Expand Down Expand Up @@ -75,3 +76,10 @@ Press Key

Attempt Clear Element Text On Non-Editable Field
Run Keyword And Expect Error * Clear Element Text can_send_email

*** Keywords ***

Open Browser To Start Page Disabling Chrome Leaked Password Detection
[Arguments] ${alias}=${None}
Open Browser ${FRONT PAGE} ${BROWSER} remote_url=${REMOTE_URL}
... options=add_experimental_option("prefs", {"profile.password_manager_leak_detection": False}) alias=${alias}