Skip to content

Commit 47c6cda

Browse files
authored
Merge pull request #112 from tech-sushant/webdriverio-fix
Update BrowserStack test instructions and add WebdriverIO support
2 parents 206f0ed + 0b64a9c commit 47c6cda

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/tools/sdk-utils/constants.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ exports.config.capabilities.forEach(function (caps) {
447447
---STEP---
448448
449449
Run your tests:
450-
You can now run your tests on BrowserStack using your standard WebdriverIO command.
450+
You can now run your tests on BrowserStack using your standard WebdriverIO command or Use the commands defined in your package.json file to run the tests.
451451
`;
452452

453453
const cypressInstructions = (username: string, accessKey: string) => `
@@ -578,5 +578,8 @@ export const SUPPORTED_CONFIGURATIONS: ConfigMapping = {
578578
cypress: {
579579
cypress: { instructions: cypressInstructions },
580580
},
581+
webdriverio: {
582+
mocha: { instructions: webdriverioInstructions },
583+
},
581584
},
582585
};

src/tools/sdk-utils/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export enum SDKSupportedBrowserAutomationFrameworkEnum {
1010
playwright = "playwright",
1111
selenium = "selenium",
1212
cypress = "cypress",
13+
webdriverio = "webdriverio",
1314
}
1415
export type SDKSupportedBrowserAutomationFramework =
1516
keyof typeof SDKSupportedBrowserAutomationFrameworkEnum;

0 commit comments

Comments
 (0)