Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/tools/appautomate-utils/appium-sdk/languages/nodejs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ export function getNodejsAppInstructions(
case AppSDKSupportedTestingFrameworkEnum.jest:
return createStep(
"Run your Jest test suite with BrowserStack SDK:",
`Use the npm script defined in your package.json. For example:\n\n\`\`\`bash\nnpx run browserstack-node-sdk jest specs/single_test.js\n\`\`\``,
`Use the npm script defined in your package.json. For example:\n\n\`\`\`bash\nnpx browserstack-node-sdk jest specs/single_test.js\n\`\`\``,
);
case AppSDKSupportedTestingFrameworkEnum.mocha:
return createStep(
"Run your Mocha test suite with BrowserStack SDK:",
`Use the npm script defined in your package.json. For example:\n\n\`\`\`bash\nnpx run browserstack-node-sdk mocha specs/single_test.js\n\`\`\``,
`Use the npm script defined in your package.json. For example:\n\n\`\`\`bash\nnpx browserstack-node-sdk mocha specs/single_test.js\n\`\`\``,
);

case AppSDKSupportedTestingFrameworkEnum.cucumberJs:
return createStep(
"Run your Cucumber JS test suite with BrowserStack SDK:",
`Use the npm script defined in your package.json. For example:\n\n\`\`\`bash\nnpx run browserstack-node-sdk cucumber-js specs/single_test.js\n\`\`\``,
`Use the npm script defined in your package.json. For example:\n\n\`\`\`bash\nnpx browserstack-node-sdk cucumber-js specs/single_test.js\n\`\`\``,
);
default:
return "";
Expand Down
2 changes: 1 addition & 1 deletion src/tools/sdk-utils/bstack/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm i -D browserstack-node-sdk@latest
---STEP---
Run the following command to setup browserstack sdk:
\`\`\`bash
npx setup --username ${username} --key ${accessKey}
npx browserstack-node-sdk setup --username ${username} --key ${accessKey}
\`\`\``;

// Template for Gradle setup instructions (platform-independent)
Expand Down
2 changes: 1 addition & 1 deletion src/tools/sdk-utils/percy-automate/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Install or upgrade the BrowserStack SDK:
- Install the SDK:
npm i -D browserstack-node-sdk@latest
- Run the setup:
npx setup --username "YOUR_USERNAME" --key "YOUR_ACCESS_KEY"
npx browserstack-node-sdk setup --username "YOUR_USERNAME" --key "YOUR_ACCESS_KEY"

---STEP---
Manually capture screenshots:
Expand Down
Loading