Skip to content

Fix fix ubuntu image for e2e tests #9338

Fix fix ubuntu image for e2e tests

Fix fix ubuntu image for e2e tests #9338

Triggered via pull request January 7, 2025 16:10
Status Success
Total duration 9m 20s
Artifacts

build-and-e2e-test.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

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('narrate-amidst-pillory', { exact: true }) Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 5000ms - waiting for getByTestId('linked-resources-tree').getByText('narrate-amidst-pillory', { exact: true }) 9 × locator resolved to <p class="MuiTypography-root MuiTypography-body1 css-wam3xv">narrate-amidst-pillory</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__/comparing-attribution-with-origin.test.ts:142:5 › handles pending license and copyright changes in temporary package info correctly: src/e2e-tests/page-objects/AttributionForm.ts#L253
1) __tests__/comparing-attribution-with-origin.test.ts:142:5 › handles pending license and copyright changes in temporary package info correctly Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByLabel('diff popup').getByLabel('current', { exact: true }).getByTestId('packageName-undo') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByLabel('diff popup').getByLabel('current', { exact: true }).getByTestId('packageName-undo') at page-objects/AttributionForm.ts:253 251 | }, 252 | nameUndoButtonIsVisible: async () => { > 253 | await expect(this.nameUndoButton).toBeVisible(); | ^ 254 | }, 255 | nameUndoButtonIsHidden: async () => { 256 | await expect(this.nameUndoButton).toBeHidden(); at Object.nameUndoButtonIsVisible (/Users/runner/work/OpossumUI/OpossumUI/src/e2e-tests/page-objects/AttributionForm.ts:253:41) at /Users/runner/work/OpossumUI/OpossumUI/src/e2e-tests/__tests__/comparing-attribution-with-origin.test.ts:158:49
🎭 Playwright Run Summary
51 passed (3.1m)
🎭 Playwright Run Summary
1 flaky __tests__\replacing-attributions.test.ts:64:5 › replaces an attribution with another ─────────── 50 passed (3.8m)
🎭 Playwright Run Summary
1 flaky __tests__/comparing-attribution-with-origin.test.ts:142:5 › handles pending license and copyright changes in temporary package info correctly 50 passed (5.3m)