Skip to content

Commit c468b36

Browse files
committed
refactor: Update Python instructions
1 parent a8929a0 commit c468b36

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

src/tools/sdk-utils/bstack/constants.ts

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,19 @@ Install the BrowserStack SDK:
1212
\`\`\`bash
1313
python3 -m pip install browserstack-sdk
1414
\`\`\`
15-
16-
---STEP---
17-
18-
Setup the BrowserStack SDK with your credentials:
19-
\`\`\`bash
20-
browserstack-sdk setup --username "${username}" --key "${accessKey}"
21-
\`\`\`
2215
`;
2316

2417
const run = `
2518
---STEP---
2619
2720
Run your tests on BrowserStack:
2821
\`\`\`bash
29-
browserstack-sdk python <path-to-test-file>
22+
browserstack-sdk pytest -s tests/<example_test>.py
23+
\`\`\`
24+
25+
Or run all tests in a directory:
26+
\`\`\`bash
27+
browserstack-sdk pytest <path-to-test-directory>
3028
\`\`\`
3129
`;
3230

@@ -43,13 +41,6 @@ Install the BrowserStack SDK:
4341
\`\`\`bash
4442
python3 -m pip install browserstack-sdk
4543
\`\`\`
46-
47-
---STEP---
48-
49-
Setup the BrowserStack SDK with framework-specific configuration:
50-
\`\`\`bash
51-
browserstack-sdk setup --framework "${framework}" --username "${username}" --key "${accessKey}"
52-
\`\`\`
5344
`;
5445

5546
const run = `
@@ -655,4 +646,4 @@ export const SUPPORTED_CONFIGURATIONS: ConfigMapping = {
655646
cypress: { instructions: cypressInstructions },
656647
},
657648
},
658-
};
649+
};

0 commit comments

Comments
 (0)