Commit ca7f6fa
feat(tests): Enhance Playwright test suite (#231)
* feat(tests): Enhance Playwright test suite with comprehensive traffic simulations
- Added TypeScript support and updated dependencies in package.json.
- Introduced detailed test configurations for store admin and storefront.
- Created a structured test suite for traffic simulations, including:
- Casual Browser tests simulating various shopper behaviors.
- Malicious Buyer tests to validate security against common vulnerabilities.
- Single Item Buyer tests for focused purchasing scenarios.
- Implemented retry logic for navigation and interactions to improve test reliability.
- Documented test categories and usage instructions in README files.
- Ensured graceful handling of non-existent products and malicious inputs.
* Update tests/traffic/single-item-buyer.spec.ts
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>1 parent 0d8d93b commit ca7f6fa
File tree
21 files changed
+2569
-115
lines changed- .github/workflows
- tests
- e2e
- store-admin
- store-front
- traffic
21 files changed
+2569
-115
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
0 commit comments