-
Notifications
You must be signed in to change notification settings - Fork 783
Migrate lint/format tooling to Ruff, update CI matrix, and stabilize cross-platform/firefox tests #1978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Migrate lint/format tooling to Ruff, update CI matrix, and stabilize cross-platform/firefox tests #1978
Changes from 19 commits
3cf3262
a401b04
9538508
a6e6f62
b68eb40
d49a0c3
e234c34
b33a8f1
b8a0d3e
984d2a3
c3cad3f
0261814
da2f1b8
b8c1c5f
25da5f2
6bec53f
1ab8845
57f3edf
068128b
4e638fb
118cdd5
847a32e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| *.approved.txt text eol=lf | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,13 +8,15 @@ Documentation Creating test which would work on all browser is not possible. | |
|
|
||
| *** Test Cases *** | ||
| Chrome Browser With Selenium Options As String | ||
| [Tags] SKIP_ON_WINDOWS | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are these skip on windows?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [An aside, I had always wanted an easy to document but clear documented explanation as to why for wa particular test we would want to skip on a certain OS. Or if a known issues what change would trigger a reevalaution for the skip/ignore reason. That way when one came along latter one could evaklute if this was still the case.]
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These atests test on specific lines in the logging. Due to Windows specific stuff there are additional debug lines at the start which messes these up. So we could fix them, but this would mean the assertions will have to change quite a lot. Since this is not windows-specific functionality I figured this would not pose much of a risk if we skip these on Windows. |
||
| [Documentation] | ||
| ... LOG 1:13 DEBUG REGEXP: .*['\\\"]goog:chromeOptions['\\\"].* | ||
| ... LOG 1:13 DEBUG REGEXP: .*args['\\\"]: \\\[['\\\"]--disable-dev-shm-usage['\\\"].* | ||
| Open Browser ${FRONT PAGE} ${BROWSER} remote_url=${REMOTE_URL} | ||
| ... desired_capabilities=${DESIRED_CAPABILITIES} options=add_argument("--disable-dev-shm-usage") | ||
|
|
||
| Chrome Browser With Selenium Options As String With Attribute As True | ||
| [Tags] SKIP_ON_WINDOWS | ||
| [Documentation] | ||
| ... LOG 1:13 DEBUG REGEXP: .*['\\\"]goog:chromeOptions['\\\"].* | ||
| ... LOG 1:13 DEBUG REGEXP: .*args['\\\"]: \\\[['\\\"]--disable-dev-shm-usage['\\\"].* | ||
|
|
@@ -23,7 +25,7 @@ Chrome Browser With Selenium Options As String With Attribute As True | |
| ... desired_capabilities=${DESIRED_CAPABILITIES} options=add_argument ( "--disable-dev-shm-usage" ) ; add_argument ( "--headless=new" ) | ||
|
|
||
| Chrome Browser With Selenium Options With Complex Object | ||
| [Tags] NoGrid | ||
| [Tags] NoGrid SKIP_ON_WINDOWS | ||
| [Documentation] | ||
| ... LOG 1:13 DEBUG REGEXP: .*['\\\"]goog:chromeOptions['\\\"].* | ||
| ... LOG 1:13 DEBUG REGEXP: .*['\\\"]mobileEmulation['\\\"]: {['\\\"]deviceName['\\\"]: ['\\\"]Galaxy S5['\\\"].* | ||
|
|
@@ -32,6 +34,7 @@ Chrome Browser With Selenium Options With Complex Object | |
| ... desired_capabilities=${DESIRED_CAPABILITIES} options=add_argument ( "--disable-dev-shm-usage" ) ; add_experimental_option( "mobileEmulation" , { 'deviceName' : 'Galaxy S5'}) | ||
|
|
||
| Chrome Browser With Selenium Options Object | ||
| [Tags] SKIP_ON_WINDOWS | ||
| [Documentation] | ||
| ... LOG 2:13 DEBUG REGEXP: .*['\\\"]goog:chromeOptions['\\\"].* | ||
| ... LOG 2:13 DEBUG REGEXP: .*args['\\\"]: \\\[['\\\"]--disable-dev-shm-usage['\\\"].* | ||
|
|
@@ -46,6 +49,7 @@ Chrome Browser With Selenium Options Invalid Method | |
|
|
||
|
|
||
| Chrome Browser With Selenium Options Argument With Semicolon | ||
| [Tags] SKIP_ON_WINDOWS | ||
| [Documentation] | ||
| ... LOG 1:13 DEBUG REGEXP: .*['\\\"]goog:chromeOptions['\\\"].* | ||
| ... LOG 1:13 DEBUG REGEXP: .*\\\[['\\\"]has;semicolon['\\\"].* | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.