refactor(real-time): move update logic to metrics package #11048
Annotations
11 errors and 1 notice
Lint & Build & Test:
packages\elements\test\integration\real-time-reporting.it.spec.ts#L35
1) [chromium] › real-time-reporting.it.spec.ts:24:5 › real-time reporting › when navigating to the overview page › should update the mutation testing metrics
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-metrics-table').locator('tbody tr[title="All files"]').locator('td:nth-child(3)')
Expected string: "50.00"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-metrics-table').locator('tbody tr[title="All files"]').locator('td:nth-child(3)')
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
33 | const wrappitContextRow = page.mutantView.resultTable().row('WrappitContext.cs');
34 |
> 35 | await expect(allFilesRow.mutationScore()).toHaveText('50.00');
| ^
36 | await expect(allFilesRow.mutationScore()).toHaveText('50.00');
37 | await expect(attributesRow.mutationScore()).toHaveText('100.00');
38 | await expect(wrappitContextRow.mutationScore()).toHaveText('0.00');
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:35:49
|
Lint & Build & Test:
packages\elements\test\integration\real-time-reporting.it.spec.ts#L35
1) [chromium] › real-time-reporting.it.spec.ts:24:5 › real-time reporting › when navigating to the overview page › should update the mutation testing metrics
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-metrics-table').locator('tbody tr[title="All files"]').locator('td:nth-child(3)')
Expected string: "50.00"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-metrics-table').locator('tbody tr[title="All files"]').locator('td:nth-child(3)')
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
33 | const wrappitContextRow = page.mutantView.resultTable().row('WrappitContext.cs');
34 |
> 35 | await expect(allFilesRow.mutationScore()).toHaveText('50.00');
| ^
36 | await expect(allFilesRow.mutationScore()).toHaveText('50.00');
37 | await expect(attributesRow.mutationScore()).toHaveText('100.00');
38 | await expect(wrappitContextRow.mutationScore()).toHaveText('0.00');
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:35:49
|
Lint & Build & Test:
packages\elements\test\integration\real-time-reporting.it.spec.ts#L35
1) [chromium] › real-time-reporting.it.spec.ts:24:5 › real-time reporting › when navigating to the overview page › should update the mutation testing metrics
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-metrics-table').locator('tbody tr[title="All files"]').locator('td:nth-child(3)')
Expected string: "50.00"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-metrics-table').locator('tbody tr[title="All files"]').locator('td:nth-child(3)')
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
33 | const wrappitContextRow = page.mutantView.resultTable().row('WrappitContext.cs');
34 |
> 35 | await expect(allFilesRow.mutationScore()).toHaveText('50.00');
| ^
36 | await expect(allFilesRow.mutationScore()).toHaveText('50.00');
37 | await expect(attributesRow.mutationScore()).toHaveText('100.00');
38 | await expect(wrappitContextRow.mutationScore()).toHaveText('0.00');
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:35:49
|
Lint & Build & Test:
packages\elements\test\integration\real-time-reporting.it.spec.ts#L65
2) [chromium] › real-time-reporting.it.spec.ts:57:5 › real-time reporting › when navigating to the overview page › should update the progress-bar when the report is updated
Error: expect(received).not.toEqual(expected) // deep equality
Expected: not 0
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
63 | server.sse.sendMutantTested(defaultEvent);
64 |
> 65 | await expect.poll(async () => await page.realTimeProgressBar.progressBarWidth()).not.toEqual(0);
| ^
66 | await expect(page.realTimeProgressBar.killedCount()).toHaveText('1');
67 | });
68 | });
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:65:92
|
Lint & Build & Test:
packages\elements\test\integration\real-time-reporting.it.spec.ts#L65
2) [chromium] › real-time-reporting.it.spec.ts:57:5 › real-time reporting › when navigating to the overview page › should update the progress-bar when the report is updated
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).not.toEqual(expected) // deep equality
Expected: not 0
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
63 | server.sse.sendMutantTested(defaultEvent);
64 |
> 65 | await expect.poll(async () => await page.realTimeProgressBar.progressBarWidth()).not.toEqual(0);
| ^
66 | await expect(page.realTimeProgressBar.killedCount()).toHaveText('1');
67 | });
68 | });
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:65:92
|
Lint & Build & Test:
packages\elements\test\integration\real-time-reporting.it.spec.ts#L65
2) [chromium] › real-time-reporting.it.spec.ts:57:5 › real-time reporting › when navigating to the overview page › should update the progress-bar when the report is updated
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).not.toEqual(expected) // deep equality
Expected: not 0
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
63 | server.sse.sendMutantTested(defaultEvent);
64 |
> 65 | await expect.poll(async () => await page.realTimeProgressBar.progressBarWidth()).not.toEqual(0);
| ^
66 | await expect(page.realTimeProgressBar.killedCount()).toHaveText('1');
67 | });
68 | });
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:65:92
|
Lint & Build & Test:
packages\elements\test\integration\po\PageObject.po.ts#L14
3) [chromium] › real-time-reporting.it.spec.ts:85:5 › real-time reporting › when navigating to a file with 1 mutant › should update the state of a mutant
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-file').locator('mte-state-filter').locator('[data-status="Killed"]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-file').locator('mte-state-filter').locator('[data-status="Killed"]')
at po\PageObject.po.ts:14
12 |
13 | public waitForVisible() {
> 14 | return expect(this.host).toBeVisible();
| ^
15 | }
16 |
17 | public waitForHidden() {
at StateFilterCheckbox.waitForVisible (D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\po\PageObject.po.ts:14:30)
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:96:36
|
Lint & Build & Test:
packages\elements\test\integration\po\PageObject.po.ts#L14
3) [chromium] › real-time-reporting.it.spec.ts:85:5 › real-time reporting › when navigating to a file with 1 mutant › should update the state of a mutant
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-file').locator('mte-state-filter').locator('[data-status="Killed"]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-file').locator('mte-state-filter').locator('[data-status="Killed"]')
at po\PageObject.po.ts:14
12 |
13 | public waitForVisible() {
> 14 | return expect(this.host).toBeVisible();
| ^
15 | }
16 |
17 | public waitForHidden() {
at StateFilterCheckbox.waitForVisible (D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\po\PageObject.po.ts:14:30)
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:96:36
|
Lint & Build & Test:
packages\elements\test\integration\po\PageObject.po.ts#L14
3) [chromium] › real-time-reporting.it.spec.ts:85:5 › real-time reporting › when navigating to a file with 1 mutant › should update the state of a mutant
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-file').locator('mte-state-filter').locator('[data-status="Killed"]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-file').locator('mte-state-filter').locator('[data-status="Killed"]')
at po\PageObject.po.ts:14
12 |
13 | public waitForVisible() {
> 14 | return expect(this.host).toBeVisible();
| ^
15 | }
16 |
17 | public waitForHidden() {
at StateFilterCheckbox.waitForVisible (D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\po\PageObject.po.ts:14:30)
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:96:36
|
Lint & Build & Test:
packages\elements\test\integration\real-time-reporting.it.spec.ts#L35
4) [firefox] › real-time-reporting.it.spec.ts:24:5 › real-time reporting › when navigating to the overview page › should update the mutation testing metrics
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-metrics-table').locator('tbody tr[title="All files"]').locator('td:nth-child(3)')
Expected string: "50.00"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('body').locator('mutation-test-report-app').locator('mte-mutant-view').locator('mte-metrics-table').locator('tbody tr[title="All files"]').locator('td:nth-child(3)')
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
- locator resolved to <td class=" odd:bg-gray-100 w-12 pr-2 text-center fo…>…</td>
- unexpected value ""
33 | const wrappitContextRow = page.mutantView.resultTable().row('WrappitContext.cs');
34 |
> 35 | await expect(allFilesRow.mutationScore()).toHaveText('50.00');
| ^
36 | await expect(allFilesRow.mutationScore()).toHaveText('50.00');
37 | await expect(attributesRow.mutationScore()).toHaveText('100.00');
38 | await expect(wrappitContextRow.mutationScore()).toHaveText('0.00');
at D:\a\mutation-testing-elements\mutation-testing-elements\packages\elements\test\integration\real-time-reporting.it.spec.ts:35:49
|
Run actions/upload-artifact@v4
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Lint & Build & Test
6 failed
[chromium] › real-time-reporting.it.spec.ts:24:5 › real-time reporting › when navigating to the overview page › should update the mutation testing metrics
[chromium] › real-time-reporting.it.spec.ts:57:5 › real-time reporting › when navigating to the overview page › should update the progress-bar when the report is updated
[chromium] › real-time-reporting.it.spec.ts:85:5 › real-time reporting › when navigating to a file with 1 mutant › should update the state of a mutant
[firefox] › real-time-reporting.it.spec.ts:24:5 › real-time reporting › when navigating to the overview page › should update the mutation testing metrics
[firefox] › real-time-reporting.it.spec.ts:57:5 › real-time reporting › when navigating to the overview page › should update the progress-bar when the report is updated
[firefox] › real-time-reporting.it.spec.ts:85:5 › real-time reporting › when navigating to a file with 1 mutant › should update the state of a mutant
162 passed (7.5m)
|
Loading