Skip to content

Commit e90ec79

Browse files
committed
fix: update BrowserStack usage instructions in constants.ts
1 parent e00b27b commit e90ec79

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/tools/sdk-utils/constants.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,12 @@ Add new scripts to package.json for running tests on BrowserStack:
330330
}
331331
\`\`\`
332332
333+
Example :
334+
\`\`\`json
335+
"scripts": {
336+
"test:browserstack": "npx browserstack-node-sdk playwright test"
337+
}
338+
\`\`\`
333339
---STEP---
334340
335341
Export BrowserStack credentials as environment variables:
@@ -338,6 +344,10 @@ Set the following environment variables before running tests.
338344
export BROWSERSTACK_USERNAME=${username}
339345
export BROWSERSTACK_ACCESS_KEY=${accessKey}
340346
\`\`\`
347+
348+
---STEP---
349+
Run your tests:
350+
You can now run your tests on BrowserStack using your standard command or Use the commands defined in your package.json file to run the tests.
341351
`;
342352

343353
/**

0 commit comments

Comments
 (0)