Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33845e0

Browse files
flavorjonesclaude
andcommitted
Restore Android browser testing to Sauce Labs configuration
- Add Android emulator (v14.0) with Chrome browser using Appium - Update tunnel config to use SC5's `tunnelName` instead of SC4's `tunnelIdentifier` - Use UiAutomator2 automation and latest Appium version Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 12a642b commit 33845e0

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

web-test-runner.config.mjs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ const createSauceLabsLaunchers = async () => {
3636
const sauceOptions = {
3737
name: 'Trix',
3838
build: buildId,
39-
...(SAUCE_TUNNEL_IDENTIFIER && { tunnelIdentifier: SAUCE_TUNNEL_IDENTIFIER }),
39+
// Use tunnelName for SC5 (tunnelIdentifier is SC4 legacy)
40+
...(SAUCE_TUNNEL_IDENTIFIER && { tunnelName: SAUCE_TUNNEL_IDENTIFIER }),
4041
};
4142

4243
return [
@@ -68,6 +69,21 @@ const createSauceLabsLaunchers = async () => {
6869
'sauce:options': sauceOptions,
6970
},
7071
}),
72+
// Android emulator - Chrome browser
73+
webdriverLauncher({
74+
...sauceLabsConfig,
75+
capabilities: {
76+
browserName: 'chrome',
77+
platformName: 'Android',
78+
'appium:deviceName': 'Android GoogleAPI Emulator',
79+
'appium:platformVersion': '14.0',
80+
'appium:automationName': 'UiAutomator2',
81+
'sauce:options': {
82+
...sauceOptions,
83+
appiumVersion: 'latest',
84+
},
85+
},
86+
}),
7187
];
7288
};
7389

0 commit comments

Comments
 (0)