@salesforcedevs/sfdocs-e2e 1.0.12-e2e-tests-1 → 1.0.12-e2e-tests
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/common-wdio.conf.js +4 -8
- package/package.json +1 -1
package/common-wdio.conf.js
CHANGED
|
@@ -89,14 +89,10 @@ const chrome = resolvedChromeDriverVersion ? { version: resolvedChromeDriverVers
|
|
|
89
89
|
const drivers = {
|
|
90
90
|
// ChromeDriver 115+ is distributed via Chrome for Testing:
|
|
91
91
|
// https://googlechromelabs.github.io/chrome-for-testing/
|
|
92
|
-
chrome
|
|
92
|
+
chrome,
|
|
93
|
+
firefox: { version: '0.35.0' }, // https://github.com/mozilla/geckodriver/releases - 0.30.0+ supports ARM64 Mac
|
|
93
94
|
};
|
|
94
95
|
|
|
95
|
-
// selenium-standalone's own default (4.9.0) doesn't support the `-I` driver flag it
|
|
96
|
-
// unconditionally passes on Selenium 4.x, so the server exits immediately on start.
|
|
97
|
-
// Pinning a version that does support it (4.18.1) avoids that crash.
|
|
98
|
-
const seleniumServerVersion = process.env.SELENIUM_VERSION || '4.18.1';
|
|
99
|
-
|
|
100
96
|
exports.config = {
|
|
101
97
|
//
|
|
102
98
|
// ====================
|
|
@@ -192,8 +188,8 @@ exports.config = {
|
|
|
192
188
|
[
|
|
193
189
|
'selenium-standalone',
|
|
194
190
|
{
|
|
195
|
-
installArgs: {
|
|
196
|
-
args: {
|
|
191
|
+
installArgs: { drivers }, // drivers to install
|
|
192
|
+
args: { drivers }, // drivers to use
|
|
197
193
|
},
|
|
198
194
|
],
|
|
199
195
|
],
|