File tree Expand file tree Collapse file tree
appautomate-utils/appium-sdk/languages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ export function getNodejsAppInstructions(
5151 case AppSDKSupportedTestingFrameworkEnum . jest :
5252 return createStep (
5353 "Run your Jest test suite with BrowserStack SDK:" ,
54- `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\`\`\`` ,
54+ `Use the npm script defined in your package.json. For example:\n\n\`\`\`bash\nnpx browserstack-node-sdk jest specs/single_test.js\n\`\`\`` ,
5555 ) ;
5656 case AppSDKSupportedTestingFrameworkEnum . mocha :
5757 return createStep (
5858 "Run your Mocha test suite with BrowserStack SDK:" ,
59- `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\`\`\`` ,
59+ `Use the npm script defined in your package.json. For example:\n\n\`\`\`bash\nnpx browserstack-node-sdk mocha specs/single_test.js\n\`\`\`` ,
6060 ) ;
6161
6262 case AppSDKSupportedTestingFrameworkEnum . cucumberJs :
6363 return createStep (
6464 "Run your Cucumber JS test suite with BrowserStack SDK:" ,
65- `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\`\`\`` ,
65+ `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\`\`\`` ,
6666 ) ;
6767 default :
6868 return "" ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ npm i -D browserstack-node-sdk@latest
2525---STEP---
2626Run the following command to setup browserstack sdk:
2727\`\`\`bash
28- npx setup --username ${ username } --key ${ accessKey }
28+ npx browserstack-node-sdk setup --username ${ username } --key ${ accessKey }
2929\`\`\`` ;
3030
3131// Template for Gradle setup instructions (platform-independent)
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ Install or upgrade the BrowserStack SDK:
167167 - Install the SDK:
168168 npm i -D browserstack-node-sdk@latest
169169 - Run the setup:
170- npx setup --username "YOUR_USERNAME" --key "YOUR_ACCESS_KEY"
170+ npx browserstack-node-sdk setup --username "YOUR_USERNAME" --key "YOUR_ACCESS_KEY"
171171
172172---STEP---
173173Manually capture screenshots:
You can’t perform that action at this time.
0 commit comments