File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,12 @@ Add new scripts to package.json for running tests on BrowserStack:
330
330
}
331
331
\`\`\`
332
332
333
+ Example :
334
+ \`\`\`json
335
+ "scripts": {
336
+ "test:browserstack": "npx browserstack-node-sdk playwright test"
337
+ }
338
+ \`\`\`
333
339
---STEP---
334
340
335
341
Export BrowserStack credentials as environment variables:
@@ -338,6 +344,10 @@ Set the following environment variables before running tests.
338
344
export BROWSERSTACK_USERNAME=${ username }
339
345
export BROWSERSTACK_ACCESS_KEY=${ accessKey }
340
346
\`\`\`
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.
341
351
` ;
342
352
343
353
/**
You can’t perform that action at this time.
0 commit comments