@testream/playwright-reporter 0.1.0 → 0.2.0
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 +1 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,8 +31,7 @@ export default defineConfig({
|
|
|
31
31
|
[
|
|
32
32
|
'@testream/playwright-reporter',
|
|
33
33
|
{
|
|
34
|
-
// Required:
|
|
35
|
-
apiUrl: 'https://your-backend.fly.dev',
|
|
34
|
+
// Required: API configuration
|
|
36
35
|
apiKey: process.env.TEST_MANAGER_API_KEY,
|
|
37
36
|
projectKey: 'PROJECT-1',
|
|
38
37
|
|
|
@@ -71,7 +70,6 @@ export default defineConfig({
|
|
|
71
70
|
|
|
72
71
|
| Option | Type | Description |
|
|
73
72
|
|--------|------|-------------|
|
|
74
|
-
| `apiUrl` | `string` | Backend API URL (e.g., `https://test-manager-backend.fly.dev`) |
|
|
75
73
|
| `apiKey` | `string` | API key for authentication (store in environment variables) |
|
|
76
74
|
| `projectKey` | `string` | Project key to associate test results with |
|
|
77
75
|
|
|
@@ -140,7 +138,6 @@ export default defineConfig({
|
|
|
140
138
|
[
|
|
141
139
|
'@testream/playwright-reporter',
|
|
142
140
|
{
|
|
143
|
-
apiUrl: 'https://your-backend.fly.dev',
|
|
144
141
|
apiKey: process.env.TEST_MANAGER_API_KEY,
|
|
145
142
|
projectKey: 'PROJECT-1',
|
|
146
143
|
uploadEnabled: process.env.CI === 'true', // Only upload in CI
|
|
@@ -157,7 +154,6 @@ It's recommended to store sensitive configuration in environment variables:
|
|
|
157
154
|
```bash
|
|
158
155
|
# .env
|
|
159
156
|
TEST_MANAGER_API_KEY=your-api-key-here
|
|
160
|
-
TEST_MANAGER_API_URL=https://your-backend.fly.dev
|
|
161
157
|
TEST_MANAGER_PROJECT_KEY=PROJECT-1
|
|
162
158
|
```
|
|
163
159
|
|
|
@@ -174,7 +170,6 @@ export default defineConfig({
|
|
|
174
170
|
[
|
|
175
171
|
'@testream/playwright-reporter',
|
|
176
172
|
{
|
|
177
|
-
apiUrl: process.env.TEST_MANAGER_API_URL,
|
|
178
173
|
apiKey: process.env.TEST_MANAGER_API_KEY,
|
|
179
174
|
projectKey: process.env.TEST_MANAGER_PROJECT_KEY,
|
|
180
175
|
},
|
package/package.json
CHANGED