testlens-playwright-reporter 0.2.0 → 0.2.2

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/index.js CHANGED
@@ -166,7 +166,7 @@ class TestLensReporter {
166
166
  testSuiteName: test.parent.title,
167
167
  tags: this.extractTags(test),
168
168
  startTime: new Date().toISOString(),
169
- status: 'passed'
169
+ status: 'running'
170
170
  };
171
171
  this.specMap.set(specKey, specData);
172
172
 
@@ -187,8 +187,8 @@ class TestLensReporter {
187
187
  const testData = {
188
188
  id: testId,
189
189
  name: test.title,
190
- status: 'passed',
191
- originalStatus: 'passed',
190
+ status: 'running',
191
+ originalStatus: 'running',
192
192
  duration: 0,
193
193
  startTime: new Date().toISOString(),
194
194
  endTime: '',
package/index.ts CHANGED
@@ -295,7 +295,7 @@ export class TestLensReporter implements Reporter {
295
295
  testSuiteName: test.parent.title,
296
296
  tags: this.extractTags(test),
297
297
  startTime: new Date().toISOString(),
298
- status: 'passed'
298
+ status: 'running'
299
299
  };
300
300
  this.specMap.set(specKey, specData);
301
301
 
@@ -316,8 +316,8 @@ export class TestLensReporter implements Reporter {
316
316
  const testData: TestData = {
317
317
  id: testId,
318
318
  name: test.title,
319
- status: 'passed',
320
- originalStatus: 'passed',
319
+ status: 'running',
320
+ originalStatus: 'running',
321
321
  duration: 0,
322
322
  startTime: new Date().toISOString(),
323
323
  endTime: '',
package/lib/index.js CHANGED
@@ -185,7 +185,7 @@ class TestLensReporter {
185
185
  testSuiteName: test.parent.title,
186
186
  tags: this.extractTags(test),
187
187
  startTime: new Date().toISOString(),
188
- status: 'passed'
188
+ status: 'running'
189
189
  };
190
190
  this.specMap.set(specKey, specData);
191
191
  // Send spec start event to API
@@ -203,8 +203,8 @@ class TestLensReporter {
203
203
  const testData = {
204
204
  id: testId,
205
205
  name: test.title,
206
- status: 'passed',
207
- originalStatus: 'passed',
206
+ status: 'running',
207
+ originalStatus: 'running',
208
208
  duration: 0,
209
209
  startTime: new Date().toISOString(),
210
210
  endTime: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testlens-playwright-reporter",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Universal Playwright reporter for TestLens - works with both TypeScript and JavaScript projects",
5
5
  "main": "lib/index.js",
6
6
  "types": "index.d.ts",