Skip to content

Commit 9b77565

Browse files
committed
Updating atest for Python v3.11 tests
1 parent 63be435 commit 9b77565

4 files changed

Lines changed: 8 additions & 9 deletions

File tree

atest/acceptance/create_webdriver.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Create Webdriver With Bad Keyword Argument Dictionary
3030
[Documentation] Invalid arguments types
3131
${status} ${error} = Run Keyword And Ignore Error Create Webdriver Firefox kwargs={'spam': 'eggs'}
3232
Should Be Equal ${status} FAIL
33-
Should Match Regexp ${error} (TypeError: __init__\\(\\) got an unexpected keyword argument 'spam'|kwargs must be a dictionary\.)
33+
Should Match Regexp ${error} (TypeError: WebDriver.__init__\\(\\) got an unexpected keyword argument 'spam'|kwargs must be a dictionary\.)
3434

3535
*** Keywords ***
3636
Set Driver Variables

atest/acceptance/keywords/choose_file.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Choose File With Grid From Library Using SL choose_file method
4545

4646
Input Text Should Work Same Way When Not Using Grid
4747
[Documentation]
48-
... LOG 1:6 DEBUG GLOB: POST*/session/*/clear {"*
48+
... LOG 1:6 DEBUG GLOB: POST*/session/*/clear {*
4949
... LOG 1:9 DEBUG Finished Request
5050
... LOG 1:10 DEBUG GLOB: POST*/session/*/value*"text": "*
5151
... LOG 1:13 DEBUG Finished Request

atest/acceptance/keywords/page_load_timeout.robot

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ Test Teardown Close Browser And Reset Page Load Timeout
77
*** Test Cases ***
88
Should Open Browser With Default Page Load Timeout
99
[Documentation] Verify that 'Open Browser' changes the page load timeout.
10-
... LOG 1.1.1:33 DEBUG REGEXP: POST http://localhost:\\d{2,5}/session/[a-f0-9-]+/timeouts {"pageLoad": 300000}
11-
... LOG 1.1.1:35 DEBUG STARTS: Remote response: status=200
12-
# ... LOG 1.1.1:16 DEBUG REGEXP: POST http://localhost:\\d{2,5}/session/[a-f0-9-]+/timeouts {"pageLoad": 300000}
13-
# ... LOG 1.1.1:18 DEBUG STARTS: Remote response: status=200
10+
... LOG 1.1.1:27 DEBUG REGEXP: POST http://localhost:\\d{2,5}/session/[a-f0-9-]+/timeouts {"pageLoad": 300000}
11+
... LOG 1.1.1:29 DEBUG STARTS: Remote response: status=200
12+
# Note: previous log check was 33 and 37. Recording to see if something is swtiching back and forth
1413
Open Browser To Start Page
1514

1615
Should Run Into Timeout Exception

atest/acceptance/multiple_browsers_options.robot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Chrome Browser With Selenium Options As String
1515
... desired_capabilities=${DESIRED_CAPABILITIES} options=add_argument("--disable-dev-shm-usage")
1616
... executable_path=%{WEBDRIVERPATH}
1717

18-
Chrome Browser With Selenium Options As String With Attirbute As True
18+
Chrome Browser With Selenium Options As String With Attribute As True
1919
[Documentation]
2020
... LOG 1:3 DEBUG GLOB: *"goog:chromeOptions"*
2121
... LOG 1:3 DEBUG GLOB: *args": ["--disable-dev-shm-usage"?*
22-
... LOG 1:3 DEBUG GLOB: *"--headless"*
22+
... LOG 1:3 DEBUG GLOB: *"--headless=new"*
2323
Open Browser ${FRONT PAGE} ${BROWSER} remote_url=${REMOTE_URL}
24-
... desired_capabilities=${DESIRED_CAPABILITIES} options=add_argument ( "--disable-dev-shm-usage" ) ; headless = True
24+
... desired_capabilities=${DESIRED_CAPABILITIES} options=add_argument ( "--disable-dev-shm-usage" ) ; add_argument ( "--headless=new" )
2525
... executable_path=%{WEBDRIVERPATH}
2626

2727
Chrome Browser With Selenium Options With Complex Object

0 commit comments

Comments
 (0)