Skip to content

deps: resolve dependency vulnerabilities #2912

deps: resolve dependency vulnerabilities

deps: resolve dependency vulnerabilities #2912

Re-run triggered June 18, 2024 09:32
Status Success
Total duration 4m 31s
Artifacts 4

lint-and-test.yml

on: pull_request
Determine Playwright container image
4s
Determine Playwright container image
Lint code
36s
Lint code
Build package
53s
Build package
Lint commit messages
30s
Lint commit messages
Run unit tests
43s
Run unit tests
Audit dependencies
33s
Audit dependencies
Matrix: test-e2e
Matrix: test-visual-regression
Merge e2e test reports
31s
Merge e2e test reports
Merge visual regression reports
25s
Merge visual regression reports
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 14 warnings, and 6 notices
[react-tablet-safari] › components/header/with-service-name-and-navigation.spec.ts:41:11 › header: e2e/tests/components/header/with-service-name-and-navigation.spec.ts#L1
1) [react-tablet-safari] › components/header/with-service-name-and-navigation.spec.ts:41:11 › header, with service name and navigation › when JavaScript is enabled › @mobile-and-tablet › has six links after clicking the menu button Test timeout of 30000ms exceeded.
[react-tablet-safari] › components/header/with-service-name-and-navigation.spec.ts:41:11 › header: e2e/tests/components/header/with-service-name-and-navigation.spec.ts#L42
1) [react-tablet-safari] › components/header/with-service-name-and-navigation.spec.ts:41:11 › header, with service name and navigation › when JavaScript is enabled › @mobile-and-tablet › has six links after clicking the menu button Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('Menu') - locator resolved to <button hidden="" type="button" aria-controls="navigatio…>Menu</button> - attempting click action - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #22 - waiting 500ms - waiting for element to be visib
[react-tablet-safari] › visual-regression.spec.ts:13:15 › @visual-regression › @react › accordion › with-remember-expanded-off › matches the saved screenshot: e2e/tests/visual-regression.spec.ts#L14
1) [react-tablet-safari] › visual-regression.spec.ts:13:15 › @visual-regression › @react › accordion › with-remember-expanded-off › matches the saved screenshot Error: Screenshot comparison failed: Expected an image 1536px by 1012px, received 1536px by 490px. 73870 pixels (ratio 0.05 of all image pixels) are different. Expected: /__w/moduk-frontend/moduk-frontend/e2e/tests/__screenshots__/visual-regression.spec.ts/accordion/with-remember-expanded-off/screenshot--tablet-safari.png Received: /__w/moduk-frontend/moduk-frontend/e2e/output/artefacts/visual-regression--visual-regression-react-acc-91c25-ember-expanded-off-matches-the-saved-screenshot-react-tablet-safari/accordion/with-remember-expanded-off/screenshot-actual.png Diff: /__w/moduk-frontend/moduk-frontend/e2e/output/artefacts/visual-regression--visual-regression-react-acc-91c25-ember-expanded-off-matches-the-saved-screenshot-react-tablet-safari/accordion/with-remember-expanded-off/screenshot-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#root > *:first-child') - locator resolved to <div class="govuk-accordion" data-module="govuk-accor…>…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - Expected an image 1536px by 1012px, received 1536px by 490px. 73870 pixels (ratio 0.05 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#root > *:first-child') - locator resolved to <div class="govuk-accordion" data-module="govuk-accor…>…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - Expected an image 1536px by 1012px, received 1536px by 490px. 73870 pixels (ratio 0.05 of all image pixels) are different. 12 | 13 | test('matches the saved screenshot', async ({ componentElement }) => { > 14 | await expect(componentElement).toHaveScreenshot([ | ^ 15 | component, 16 | exampleName, 17 | 'screenshot.png', at /__w/moduk-frontend/moduk-frontend/e2e/tests/visual-regression.spec.ts:14:44
[react-tablet-safari] › visual-regression.spec.ts:13:15 › @visual-regression › @react › accordion › with-summary-lines › matches the saved screenshot: e2e/tests/visual-regression.spec.ts#L14
2) [react-tablet-safari] › visual-regression.spec.ts:13:15 › @visual-regression › @react › accordion › with-summary-lines › matches the saved screenshot Error: Screenshot comparison failed: Expected an image 1536px by 1316px, received 1536px by 794px. 110924 pixels (ratio 0.06 of all image pixels) are different. Expected: /__w/moduk-frontend/moduk-frontend/e2e/tests/__screenshots__/visual-regression.spec.ts/accordion/with-summary-lines/screenshot--tablet-safari.png Received: /__w/moduk-frontend/moduk-frontend/e2e/output/artefacts/visual-regression--visual-regression-react-accordion-with-summary-lines-matches-the-saved-screenshot-react-tablet-safari/accordion/with-summary-lines/screenshot-actual.png Diff: /__w/moduk-frontend/moduk-frontend/e2e/output/artefacts/visual-regression--visual-regression-react-accordion-with-summary-lines-matches-the-saved-screenshot-react-tablet-safari/accordion/with-summary-lines/screenshot-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#root > *:first-child') - locator resolved to <div class="govuk-accordion" data-module="govuk-accor…>…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - Expected an image 1536px by 1316px, received 1536px by 794px. 110924 pixels (ratio 0.06 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#root > *:first-child') - locator resolved to <div class="govuk-accordion" data-module="govuk-accor…>…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - Expected an image 1536px by 1316px, received 1536px by 794px. 110924 pixels (ratio 0.06 of all image pixels) are different. 12 | 13 | test('matches the saved screenshot', async ({ componentElement }) => { > 14 | await expect(componentElement).toHaveScreenshot([ | ^ 15 | component, 16 | exampleName, 17 | 'screenshot.png', at /__w/moduk-frontend/moduk-frontend/e2e/tests/visual-regression.spec.ts:14:44
Build package
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Audit dependencies
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint code
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint commit messages
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run e2e tests (2/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run e2e tests (3/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run e2e tests (1/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run e2e tests (4/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run visual regression tests (1/2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Merge e2e test reports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run visual regression tests (2/2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Merge visual regression reports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "e2e-blob-reports", "e2e-html-report", "visual-regression-blob-reports", "visual-regression-html-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
478 passed (3.7m)
🎭 Playwright Run Summary
478 passed (2.5m)
🎭 Playwright Run Summary
479 passed (2.4m)
🎭 Playwright Run Summary
1 flaky [react-tablet-safari] › components/header/with-service-name-and-navigation.spec.ts:41:11 › header, with service name and navigation › when JavaScript is enabled › @mobile-and-tablet › has six links after clicking the menu button 477 passed (4.2m)
🎭 Playwright Run Summary
446 passed (1.9m)
🎭 Playwright Run Summary
2 flaky [react-tablet-safari] › visual-regression.spec.ts:13:15 › @visual-regression › @react › accordion › with-remember-expanded-off › matches the saved screenshot [react-tablet-safari] › visual-regression.spec.ts:13:15 › @visual-regression › @react › accordion › with-summary-lines › matches the saved screenshot 444 passed (2.6m)

Artifacts

Produced during runtime
Name Size
e2e-blob-reports Expired
1.44 MB
e2e-html-report Expired
2 MB
visual-regression-blob-reports Expired
1.15 MB
visual-regression-html-report Expired
3.2 MB