feat(tests): Adds an option to run beta versions.

This commit is contained in:
damencho
2025-03-09 22:16:27 -05:00
committed by Дамян Минков
parent 481e8634e0
commit dc6ee21b5d
3 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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