Skip to content

Commit 1458cbe

Browse files
authored
Merge pull request #1944 from emanlove/latest-versions-jun2025
Latest versions jun2025
2 parents f9e9792 + 573b36d commit 1458cbe

File tree

6 files changed

+30
-12
lines changed

6 files changed

+30
-12
lines changed

.github/workflows/CI.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ jobs:
99
continue-on-error: true
1010
strategy:
1111
matrix:
12-
python-version: [3.8, 3.13.0] # pypy-3.9
13-
rf-version: [6.1.1, 7.1.1]
14-
selenium-version: [4.24.0, 4.25.0, 4.26.1, 4.27.1]
15-
browser: [firefox, chrome, headlesschrome] #edge
12+
python-version: [3.9.23, 3.13.5] # pypy-3.9
13+
# python-version: [{earliest: 3.9}, {latest: 3.13.0}] # pypy-3.9
14+
rf-version: [6.1.1, 7.3.2]
15+
selenium-version: [4.28.1, 4.29.0, 4.30.0, 4.31.0, 4.32.0, 4.33.0, 4.34.2]
16+
browser: [chrome] # firefox, chrome, headlesschrome, edge
1617

1718
steps:
1819
- uses: actions/checkout@v4
@@ -21,9 +22,11 @@ jobs:
2122
with:
2223
python-version: ${{ matrix.python-version }}
2324
- name: Setup Chrome
24-
uses: browser-actions/setup-chrome@latest
25+
uses: browser-actions/setup-chrome@v1
2526
with:
26-
chrome-version: latest
27+
chrome-version: 138
28+
install-dependencies: true
29+
install-chromedriver: true
2730
id: setup-chrome
2831
- run: |
2932
echo Installed chromium version: ${{ steps.setup-chrome.outputs.chrome-version }}
@@ -75,8 +78,13 @@ jobs:
7578
run: |
7679
xvfb-run --auto-servernum python atest/run.py --nounit --zip headlesschrome
7780
78-
- name: Run tests with ${{ matrix.browser }} if CPython
79-
if: startsWith( matrix.python-version, 'pypy') == false
81+
# - name: Run tests with ${{ matrix.browser }} if CPython
82+
# if: startsWith( matrix.python-version, 'pypy') == false
83+
# run: |
84+
# xvfb-run --auto-servernum python atest/run.py --zip ${{ matrix.browser }}
85+
86+
- name: Run tests with latest python and latest robot framework
87+
if: matrix.python-version == '3.13.0' && matrix.rf-version == '7.2.2'
8088
run: |
8189
xvfb-run --auto-servernum python atest/run.py --zip ${{ matrix.browser }}
8290
@@ -90,6 +98,6 @@ jobs:
9098
- uses: actions/upload-artifact@v4
9199
if: failure()
92100
with:
93-
name: SeleniumLibrary Test results
101+
name: sl_$${{ matrix.python-version }}_$${{ matrix.rf-version }}_$${{ matrix.selenium-version }}_$${{ matrix.browser }}
94102
path: atest/zip_results
95103
overwrite: true

atest/acceptance/keywords/alerts.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Handle Alert returns message
4343

4444
Handle Alert with custom timeout
4545
Click Button Slow alert
46-
Handle Alert timeout=1s
46+
Handle Alert timeout=2s
4747
Click Button Slow alert
4848
Run Keyword And Expect Error
4949
... Alert not found in 1 millisecond.

atest/acceptance/keywords/expected_conditions.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Wait For Expected Conditions One Argument
1010
Title Should Be Delayed
1111
1212
Wait For Expected Condition Times out within set timeout
13-
[Documentation] FAIL REGEXP: TimeoutException: Message: Expected Condition not met within set timeout of 0.3*
13+
[Documentation] FAIL STARTS: TimeoutException: Message: Expected Condition not met within set timeout of 0.3
1414
Title Should Be Original
1515
Click Element link=delayed change title
1616
Wait For Expected Condition title_is Delayed timeout=0.3

atest/acceptance/keywords/mouse.robot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Resource ../resource.robot
88
Mouse Over
99
[Tags] Known Issue Safari
1010
Mouse Over el_for_mouseover
11+
Sleep 0.1secs
1112
Textfield Value Should Be el_for_mouseover mouseover el_for_mouseover
1213
Run Keyword And Expect Error
1314
... Element with locator 'not_there' not found.
@@ -16,6 +17,7 @@ Mouse Over
1617
Mouse Over Error
1718
[Tags] Known Issue Safari
1819
Mouse Over el_for_mouseover
20+
Sleep 0.1secs
1921
Textfield Value Should Be el_for_mouseover mouseover el_for_mouseover
2022
Run Keyword And Expect Error
2123
... Element with locator '鱼在天空中飞翔' not found.

atest/acceptance/keywords/run_on_failure.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Run on Failure Returns Previous Value
6767
Should Be Equal ${old} Log Title
6868

6969
Run On Failure also fails
70-
[Documentation] LOG 2.1 WARN Keyword 'Failure During Run On failure' could not be run on failure: Expected error.
70+
[Documentation] LOG 2.1.2 WARN Keyword 'Failure During Run On failure' could not be run on failure: Expected error.
7171
Register Keyword to Run on Failure Failure During Run On failure
7272
Run Keyword And Expect Error
7373
... ${FAILURE MESSAGE}

atest/acceptance/keywords/textfields.robot

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*** Settings ***
2+
Suite Setup Open Browser To Start Page Disabling Chrome Leaked Password Detection
23
Test Setup Go To Page "forms/prefilled_email_form.html"
34
Resource ../resource.robot
45
Force Tags Known Issue Internet Explorer
@@ -75,3 +76,10 @@ Press Key
7576

7677
Attempt Clear Element Text On Non-Editable Field
7778
Run Keyword And Expect Error * Clear Element Text can_send_email
79+
80+
*** Keywords ***
81+
82+
Open Browser To Start Page Disabling Chrome Leaked Password Detection
83+
[Arguments] ${alias}=${None}
84+
Open Browser ${FRONT PAGE} ${BROWSER} remote_url=${REMOTE_URL}
85+
... options=add_experimental_option("prefs", {"profile.password_manager_leak_detection": False}) alias=${alias}

0 commit comments

Comments
 (0)