@enact/ui-test-utils 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/config/wdio.conf.js +8 -2
- package/npm-shrinkwrap.json +404 -419
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/config/wdio.conf.js
CHANGED
|
@@ -33,7 +33,13 @@ module.exports.configure = (options) => {
|
|
|
33
33
|
const chromeVersion = /Chrome (\d+)/.exec(execSync('google-chrome -version'));
|
|
34
34
|
chromeVersionMajorNumber = (chromeVersion && chromeVersion[1]);
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
let chromeDriverVersion;
|
|
37
|
+
|
|
38
|
+
if (chromeVersionMajorNumber > 114) {
|
|
39
|
+
chromeDriverVersion = execSync('curl https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE' + (chromeVersionMajorNumber ? ('_' + chromeVersionMajorNumber) : ''));
|
|
40
|
+
} else {
|
|
41
|
+
chromeDriverVersion = execSync('curl https://chromedriver.storage.googleapis.com/LATEST_RELEASE' + (chromeVersionMajorNumber ? ('_' + chromeVersionMajorNumber) : ''));
|
|
42
|
+
}
|
|
37
43
|
|
|
38
44
|
if (chromeDriverVersion.includes('Error') || !/\d+.\d+.\d+.\d+/.exec(chromeDriverVersion)) {
|
|
39
45
|
throw new Error();
|
|
@@ -183,7 +189,7 @@ module.exports.configure = (options) => {
|
|
|
183
189
|
chrome : {
|
|
184
190
|
version : process.env.CHROME_DRIVER,
|
|
185
191
|
arch : process.arch,
|
|
186
|
-
baseURL : 'https://chromedriver.storage.googleapis.com'
|
|
192
|
+
baseURL : process.env.CHROME_DRIVER > 114 ? 'https://storage.googleapis.com' : 'https://chromedriver.storage.googleapis.com'
|
|
187
193
|
}
|
|
188
194
|
}
|
|
189
195
|
}
|