-
Notifications
You must be signed in to change notification settings - Fork 0
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
adrian-cocoara-lgp
wants to merge
26
commits into
develop
Choose a base branch
from
feature/WRR-171
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,964
−2,814
Open
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 f3a97fa
added back @wdio/selenium-standalone-service
adrian-cocoara-lgp 1da0bb1
set skipSeleniumInstall to true
adrian-cocoara-lgp 47a1cb9
replaced @wdio/selenium-standalone-service
adrian-cocoara-lgp 9e4337b
revert skipSeleniumInstall
adrian-cocoara-lgp 0e3c332
removed wdio-selenium-standalone-service
adrian-cocoara-lgp 567bb88
added wdio-selenium-standalone-service 0.0.12 and changed wdio servic…
adrian-cocoara-lgp 4af2396
fix ui and ss tests to run on TV board and code clean-up
adrian-cocoara-lgp bca7820
updated node version
adrian-cocoara-lgp 1c22ec9
update npm-shrinkwrap with updated engine version
adrian-cocoara-lgp c75eef8
updated webdriverio to latest minor version
adrian-cocoara-lgp 9566582
merge with develop and fix merging conflicts
adrian-cocoara-lgp d55b873
added temporary `browserVersion`
adrian-cocoara-lgp 846abcd
rollback `browserVersion`
adrian-cocoara-lgp 584397b
set `browserVersion` to match chromedriver version from CI/CD environ…
adrian-cocoara-lgp 4b742b2
Merge branch 'develop' of github.com:enactjs/ui-test-utils into featu…
adrian-cocoara-lgp e864a32
update wdio dependencies to latest minor version
adrian-cocoara-lgp a8de5b9
revert wdio to version ^9.1.2
adrian-cocoara-lgp 4d5d58e
rollback `@wdio/local-runner` to a fixed version and update the rest …
adrian-cocoara-lgp d4679a1
fix ui/ss config to work on tv board
adrian-cocoara-lgp 22c3f8c
update version in package.json to match develop
adrian-cocoara-lgp 1a68d8a
dummy commit
daniel-stoian-lgp e7a414a
revert dummy commit
daniel-stoian-lgp 22f0237
Merge branch 'feature/WRR-171' of https://github.com/enactjs/ui-test-…
daniel-stoian-lgp 0195b56
fix for package.json
daniel-stoian-lgp 53e7ce3
fix for shrinkwrap
daniel-stoian-lgp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [ | ||
|
@@ -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 | ||
// browserVersion: '120.0.6099.109', | ||
'goog:chromeOptions': visibleBrowser ? {} : { | ||
args: ['--headless', '--window-size=1920,1080'] | ||
} | ||
|
@@ -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 | ||
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. Note: Since webdriverio handles driver management, I only left the |
||
}], | ||
['static-server', { | ||
folders: [ | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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