Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Proposed changes This PR fixes #3492. The new added line didn't look at multiremote support which should be an object instead of an array ## Types of changes - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) ## Checklist - [x] I have read the [CONTRIBUTING](https://github.com/webdriverio/webdriverio/blob/master/CONTRIBUTING.md) doc - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added necessary documentation (if appropriate) ## Further comments @webdriverio/technical-committee, I was wondering why for multiremote we need to haven an object, why aren't we providing an array with an object. This makes it confusing
- Loading branch information
1 parent
40e2acc
commit c14e5e1
Showing
4 changed files
with
72 additions
and
1 deletion.
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
30 changes: 30 additions & 0 deletions
30
packages/wdio-config/tests/__fixtures__/wdio.conf.multiremote.rdc.js
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import path from 'path' | ||
|
||
const TEST_ROOT = path.join(__dirname, '..') | ||
|
||
exports.config = { | ||
user: 'foobar', | ||
key: '50fa142c-3121-4gb0-9p07-8q326vvbq7b0', | ||
specs: [path.join(TEST_ROOT, '*.test.js')], | ||
exclude: [ | ||
path.join(TEST_ROOT, '/detectBackend.test.js'), | ||
path.join(TEST_ROOT, '/validateConfig.test.js') | ||
], | ||
region: 'eu', | ||
capabilities: [{ | ||
myChromeBrowser: { | ||
capabilities: { | ||
browserName: 'chrome', | ||
testobject_api_key: '1', | ||
} | ||
} | ||
}], | ||
suites: { | ||
unit: [path.join(TEST_ROOT, 'configparser.test.js')], | ||
mobile: [path.join(TEST_ROOT, 'detectBackend.test.js')], | ||
functional: [ | ||
path.join(TEST_ROOT, 'validateConfig.test.js'), | ||
path.join(TEST_ROOT, '..', 'src/index.js') | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import path from 'path' | ||
|
||
const TEST_ROOT = path.join(__dirname, '..') | ||
|
||
exports.config = { | ||
user: 'foobar', | ||
key: '50fa142c-3121-4gb0-9p07-8q326vvbq7b0', | ||
specs: [path.join(TEST_ROOT, '*.test.js')], | ||
exclude: [ | ||
path.join(TEST_ROOT, '/detectBackend.test.js'), | ||
path.join(TEST_ROOT, '/validateConfig.test.js') | ||
], | ||
capabilities: [{ | ||
browserName: 'chrome', | ||
testobject_api_key: '1', | ||
}], | ||
suites: { | ||
unit: [path.join(TEST_ROOT, 'configparser.test.js')], | ||
mobile: [path.join(TEST_ROOT, 'detectBackend.test.js')], | ||
functional: [ | ||
path.join(TEST_ROOT, 'validateConfig.test.js'), | ||
path.join(TEST_ROOT, '..', 'src/index.js') | ||
] | ||
} | ||
} |
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