diff --git a/tests/env.example b/tests/env.example index 1ea9132d2c..b138b1562f 100644 --- a/tests/env.example +++ b/tests/env.example @@ -42,3 +42,7 @@ # A rest URL to be used by dial-in tests to invite jigasi to the conference #DIAL_IN_REST_URL= + +# Whether to use beta for the first participants +#BROWSER_CHROME_BETA=false +#BROWSER_FF_BETA=false diff --git a/tests/wdio.conf.ts b/tests/wdio.conf.ts index 4c844a1244..dd674bbe4e 100644 --- a/tests/wdio.conf.ts +++ b/tests/wdio.conf.ts @@ -88,6 +88,7 @@ export const config: WebdriverIO.MultiremoteConfig = { participant1: { capabilities: { browserName: 'chrome', + browserVersion: process.env.BROWSER_CHROME_BETA ? 'beta' : undefined, 'goog:chromeOptions': { args: chromeArgs, prefs: chromePreferences diff --git a/tests/wdio.firefox.conf.ts b/tests/wdio.firefox.conf.ts index 0febd704fa..e93c534eca 100644 --- a/tests/wdio.firefox.conf.ts +++ b/tests/wdio.firefox.conf.ts @@ -40,6 +40,7 @@ const mergedConfig = merge(defaultConfig, { participant1: { capabilities: { browserName: 'firefox', + browserVersion: process.env.BROWSER_FF_BETA ? 'beta' : undefined, 'moz:firefoxOptions': { args: ffArgs, prefs: ffPreferences