Skip to content

Commit 1987b92

Browse files
committed
tweaks
1 parent 4d9949d commit 1987b92

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

sauceLabs.ts

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ const IS_LOCAL = !process.env.TRAVIS_BUILD_NUMBER;
55
export type SauceLauncher = {
66
base: "SauceLabs";
77
browserName: string;
8+
platformName?: string;
89

910
// for PC
10-
version?: string;
11-
platform?: string;
11+
browserVersion?: string;
1212

1313
// for mobile
1414
deviceOrientation?: string,
1515
deviceName?: string;
1616
appiumVersion?: string;
17-
platformName?: string;
1817
platformVersion?: string;
1918
};
2019

@@ -36,40 +35,39 @@ export const sauceLaunchers: Record<string, SauceLauncher> = {
3635
slChrome: {
3736
base: "SauceLabs",
3837
browserName: "chrome",
39-
version: "latest",
40-
platform: "Windows 10",
38+
browserVersion: "latest",
39+
platformName: "Windows 10",
4140
},
4241
slFirefox: {
4342
base: "SauceLabs",
4443
browserName: "Firefox",
45-
version: "latest",
46-
platform: "Windows 10",
44+
browserVersion: "latest",
45+
platformName: "Windows 10",
4746
},
4847
slSafari: {
4948
base: "SauceLabs",
5049
browserName: "Safari",
51-
version: "latest",
52-
platform: "macOS 10.15",
50+
browserVersion: "latest",
51+
platformName: "macOS 10.15",
5352
},
5453
slEdge: {
5554
base: "SauceLabs",
5655
browserName: "MicrosoftEdge",
57-
version: "latest",
58-
platform: "Windows 10",
56+
browserVersion: "latest",
57+
platformName: "Windows 10",
5958
},
6059
slIE: {
6160
base: "SauceLabs",
6261
browserName: "Internet Explorer",
63-
version: "latest",
64-
platform: "Windows 10",
62+
browserVersion: "latest",
63+
platformName: "Windows 8",
6564
},
6665

6766
slIos: {
6867
base: "SauceLabs",
6968
browserName: "Safari",
7069
platformName: "iOS",
7170
platformVersion: "13.4",
72-
deviceOrientation: "portrait",
7371
deviceName: "iPhone Simulator",
7472
},
7573

@@ -78,7 +76,6 @@ export const sauceLaunchers: Record<string, SauceLauncher> = {
7876
browserName: "Chrome",
7977
platformName: "Android",
8078
platformVersion: "11.0",
81-
deviceOrientation: "portrait",
8279
deviceName: "Android GoogleAPI Emulator",
8380
},
8481
};

0 commit comments

Comments
 (0)