@supatest/playwright-reporter 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -69,7 +69,7 @@ pnpm test:run # Run tests once
69
69
  pnpm test:coverage # Run tests with coverage
70
70
  ```
71
71
 
72
- **Integration Tests:**
72
+ **Integration Tests (local build):**
73
73
  ```bash
74
74
  pnpm test:integration # Build reporter and run full E2E test suite
75
75
  ```
@@ -79,6 +79,16 @@ This will:
79
79
  2. Run the Playwright test suite in `reporter-test-suites/playwright-saucedemo/`
80
80
  3. Verify data flows to your local API (requires API running on `http://localhost:9090`)
81
81
 
82
+ The test suite uses a `file:` reference (`file:../../playwright-reporter`) to install from the local build output. This simulates how end users install from npm and catches packaging issues that workspace symlinks would hide.
83
+
84
+ **Testing a published version:**
85
+
86
+ To verify the published npm package works, temporarily update `reporter-test-suites/playwright-saucedemo/package.json`:
87
+ ```json
88
+ "@supatest/playwright-reporter": "^0.0.7"
89
+ ```
90
+ Then run `cd reporter-test-suites/playwright-saucedemo && pnpm install && pnpm test`. Revert to the `file:` reference afterward.
91
+
82
92
  **Quick Development Loop:**
83
93
  ```bash
84
94
  # Terminal 1: Start local API