Skip to content
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

WRR-171: Update webdriverio to version 9 #160

Open
wants to merge 26 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c33b27a
*WIP* update to wdio v9
adrian-cocoara-lgp Sep 9, 2024
f3a97fa
added back @wdio/selenium-standalone-service
adrian-cocoara-lgp Sep 10, 2024
1da0bb1
set skipSeleniumInstall to true
adrian-cocoara-lgp Sep 10, 2024
47a1cb9
replaced @wdio/selenium-standalone-service
adrian-cocoara-lgp Sep 10, 2024
9e4337b
revert skipSeleniumInstall
adrian-cocoara-lgp Sep 10, 2024
0e3c332
removed wdio-selenium-standalone-service
adrian-cocoara-lgp Sep 10, 2024
567bb88
added wdio-selenium-standalone-service 0.0.12 and changed wdio servic…
adrian-cocoara-lgp Sep 11, 2024
4af2396
fix ui and ss tests to run on TV board and code clean-up
adrian-cocoara-lgp Sep 16, 2024
bca7820
updated node version
adrian-cocoara-lgp Sep 17, 2024
1c22ec9
update npm-shrinkwrap with updated engine version
adrian-cocoara-lgp Sep 24, 2024
c75eef8
updated webdriverio to latest minor version
adrian-cocoara-lgp Oct 3, 2024
9566582
merge with develop and fix merging conflicts
adrian-cocoara-lgp Oct 3, 2024
d55b873
added temporary `browserVersion`
adrian-cocoara-lgp Oct 15, 2024
846abcd
rollback `browserVersion`
adrian-cocoara-lgp Oct 16, 2024
584397b
set `browserVersion` to match chromedriver version from CI/CD environ…
adrian-cocoara-lgp Oct 24, 2024
4b742b2
Merge branch 'develop' of github.com:enactjs/ui-test-utils into featu…
adrian-cocoara-lgp Nov 11, 2024
e864a32
update wdio dependencies to latest minor version
adrian-cocoara-lgp Nov 11, 2024
a8de5b9
revert wdio to version ^9.1.2
adrian-cocoara-lgp Nov 12, 2024
4d5d58e
rollback `@wdio/local-runner` to a fixed version and update the rest …
adrian-cocoara-lgp Nov 13, 2024
d4679a1
fix ui/ss config to work on tv board
adrian-cocoara-lgp Nov 13, 2024
22c3f8c
update version in package.json to match develop
adrian-cocoara-lgp Nov 13, 2024
1a68d8a
dummy commit
daniel-stoian-lgp Nov 18, 2024
e7a414a
revert dummy commit
daniel-stoian-lgp Nov 18, 2024
22f0237
Merge branch 'feature/WRR-171' of https://github.com/enactjs/ui-test-…
daniel-stoian-lgp Nov 18, 2024
0195b56
fix for package.json
daniel-stoian-lgp Nov 18, 2024
53e7ce3
fix for shrinkwrap
daniel-stoian-lgp Nov 18, 2024
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
25 changes: 6 additions & 19 deletions config/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports.configure = (options) => {
// directory is where your package.json resides, so `wdio` will be called from there.
//
specs: [
'./tests/' + base + '/specs/**/*-specs.js'
'../../tests/' + base + '/specs/**/*-specs.js'
],
// Patterns to exclude.
exclude: [
Expand Down Expand Up @@ -112,6 +112,10 @@ module.exports.configure = (options) => {
maxInstances,
//
browserName: 'chrome',
// WebdriverIO v8.14 and above downloads and uses the latest Chrome version when running tests.
// Uncomment `browserVersion` line when running ui-tests locally to match chromedriver version running in CI/CD environment.
// TODO: Update this version when chromedriver version in CI/CD is updated
Comment on lines +115 to +117
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use a multiline comment for these 3 lines to differentiate real comments from commented code

// browserVersion: '120.0.6099.109',
'goog:chromeOptions': visibleBrowser ? {} : {
args: ['--headless', '--window-size=1920,1080']
}
Expand Down Expand Up @@ -175,24 +179,7 @@ module.exports.configure = (options) => {
// commands. Instead, they hook themselves up into the test process.
services: [
['selenium-standalone', {
skipSeleniumInstall: offline,
args: {
drivers : {
chrome : {
version : process.env.CHROME_DRIVER,
arch : process.arch
}
}
},
installArgs: {
drivers : {
chrome : {
version : process.env.CHROME_DRIVER,
arch : process.arch,
baseURL : process.env.CHROME_DRIVER > 114 ? 'https://storage.googleapis.com' : 'https://chromedriver.storage.googleapis.com'
}
}
}
skipSeleniumInstall: offline
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: Since webdriverio handles driver management, I only left the offline option active.

}],
['static-server', {
folders: [
Expand Down
Loading