Fix fix ubuntu image for e2e tests #9335
Annotations
2 errors and 3 notices
__tests__\replacing-attributions.test.ts:64:5 › replaces an attribution with another:
src\e2e-tests\page-objects\LinkedResourcesTree.ts#L35
1) __tests__\replacing-attributions.test.ts:64:5 › replaces an attribution with another ──────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByTestId('linked-resources-tree').getByText('kowtow-agreeable-ponder', { exact: true })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByTestId('linked-resources-tree').getByText('kowtow-agreeable-ponder', { exact: true })
9 × locator resolved to <p class="MuiTypography-root MuiTypography-body1 css-wam3xv">kowtow-agreeable-ponder</p>
- unexpected value "visible"
at page-objects\LinkedResourcesTree.ts:35
33 | await expect(
34 | this.node.getByText(resourceName, { exact: true }),
> 35 | ).toBeHidden();
| ^
36 | },
37 | };
38 |
at Object.resourceIsHidden (D:\a\OpossumUI\OpossumUI\src\e2e-tests\page-objects\LinkedResourcesTree.ts:35:9)
at D:\a\OpossumUI\OpossumUI\src\e2e-tests\__tests__\replacing-attributions.test.ts:84:36
|
__tests__/filtering-attributions.test.ts:91:5 › filters attributions in report view:
src/e2e-tests/page-objects/ReportView.ts#L59
1) __tests__/filtering-attributions.test.ts:91:5 › filters attributions in report view ───────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByLabel('report view').getByTestId('4e40b285-7f88-4bce-9305-f09017e836d4')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByLabel('report view').getByTestId('4e40b285-7f88-4bce-9305-f09017e836d4')
9 × locator resolved to <td data-testid="4e40b285-7f88-4bce-9305-f09017e836d4" class="MuiTableCell-root MuiTableCell-body MuiTableCell-paddingNone MuiTableCell-sizeSmall css-us1f1k">…</td>
- unexpected value "visible"
at page-objects/ReportView.ts:59
57 | },
58 | attributionIsHidden: async (id: string): Promise<void> => {
> 59 | await expect(this.attributionRow(id)).toBeHidden();
| ^
60 | },
61 | };
62 |
at Object.attributionIsHidden (/Users/runner/work/OpossumUI/OpossumUI/src/e2e-tests/page-objects/ReportView.ts:59:45)
at /Users/runner/work/OpossumUI/OpossumUI/src/e2e-tests/__tests__/filtering-attributions.test.ts:130:27
|
🎭 Playwright Run Summary
51 passed (3.0m)
|
🎭 Playwright Run Summary
1 flaky
__tests__\replacing-attributions.test.ts:64:5 › replaces an attribution with another ───────────
50 passed (4.3m)
|
🎭 Playwright Run Summary
1 flaky
__tests__/filtering-attributions.test.ts:91:5 › filters attributions in report view ────────────
50 passed (5.9m)
|