From a9536a4be90404030ff89013ad20082fbd49b8e0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 28 Feb 2023 09:29:17 +0100 Subject: Update E2E --- client/e2e/wdio.browserstack.conf.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/client/e2e/wdio.browserstack.conf.ts b/client/e2e/wdio.browserstack.conf.ts index b40de8fa3..c3c1e2b34 100644 --- a/client/e2e/wdio.browserstack.conf.ts +++ b/client/e2e/wdio.browserstack.conf.ts @@ -17,26 +17,25 @@ function buildMainOptions (sessionName: string) { } } -function buildBStackDesktopOptions (sessionName: string, resolution?: string) { +function buildBStackDesktopOptions (sessionName: string, resolution: string, os?: string) { return { 'bstack:options': { ...buildMainOptions(sessionName), + os, resolution } } } -function buildBStackMobileOptions (sessionName: string, deviceName: string, osVersion: string, appiumVersion?: string) { +function buildBStackMobileOptions (sessionName: string, deviceName: string, osVersion: string) { return { 'bstack:options': { ...buildMainOptions(sessionName), realMobile: true, osVersion, - deviceName, - - appiumVersion + deviceName } } } @@ -58,9 +57,9 @@ module.exports = { }, { browserName: 'Firefox', - browserVersion: '68', // ESR + browserVersion: '68', // Very old ESR - ...buildBStackDesktopOptions('Firefox ESR Desktop', '1280x1024') + ...buildBStackDesktopOptions('Firefox ESR Desktop', '1280x1024', 'Windows') }, { browserName: 'Safari', -- cgit v1.2.3