Skip to content

feat(react 18): upgrade to react 18. #7737

feat(react 18): upgrade to react 18.

feat(react 18): upgrade to react 18. #7737

Triggered via pull request May 15, 2024 13:19
Status Failure
Total duration 2m 59s
Artifacts 6

ci.yml

on: pull_request
Matrix: unit-tests
Matrix: e2e-web-tests
publish-code-coverage
0s
publish-code-coverage
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 4 warnings
lints: src/tests/unit/tests/DetailsView/components/report-export-component.test.tsx#L138
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/report-export-component.test.tsx#L149
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/report-export-component.test.tsx#L172
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L52
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L86
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L108
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L120
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L136
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L150
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lints: src/tests/unit/tests/DetailsView/components/start-over-dropdown.test.tsx#L155
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Target Page window.postMessage behavior β€Ί does not respond to spoofed messages: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/target-page/post-message.test.ts:24:19)
Target Page window.postMessage behavior β€Ί does not respond to replay attacks: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/target-page/post-message.test.ts:24:19)
Target Page window.postMessage behavior β€Ί does not respond to reflected replay attacks: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/target-page/post-message.test.ts:24:19)
Target Page window.postMessage behavior β€Ί avoids leaking page contents in window messages: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/target-page/post-message.test.ts:24:19)
Target Page window.postMessage behavior β€Ί includes the required stable signature in all messages: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/target-page/post-message.test.ts:24:19)
Target Page window.postMessage behavior β€Ί does not reuse the same message data twice: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/target-page/post-message.test.ts:24:19)
Details View -> Overview Page β€Ί should pass accessibility validation with highContrastMode=true: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/details-view/overview.test.ts:19:19)
Details View -> Overview Page β€Ί should pass accessibility validation with highContrastMode=false: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/details-view/overview.test.ts:19:19)
Details View -> Overview Page β€Ί should display pinned results when loading web@2.25.0-valid-mixed-results.a11ywebassessment: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/details-view/overview.test.ts:19:19)
Details View -> Overview Page β€Ί should display pinned results when loading web@2.26.0-valid-mixed-results.a11ywebassessment: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/details-view/overview.test.ts:19:19)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί should pass accessibility validation with high contrast mode=true: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:28:19)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί should pass accessibility validation with high contrast mode=true: src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L40
TypeError: Cannot read properties of undefined (reading 'newAssessment') at Object.newAssessment (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:40:46)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί should pass accessibility validation with high contrast mode=true: src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L225
TypeError: Cannot read properties of undefined (reading 'setViewport') at setViewport (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:225:31) at Object.resizeDetailsView (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:58:23)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί should pass accessibility validation with high contrast mode=false: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:28:19)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί should pass accessibility validation with high contrast mode=false: src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L40
TypeError: Cannot read properties of undefined (reading 'newAssessment') at Object.newAssessment (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:40:46)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί should pass accessibility validation with high contrast mode=false: src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L225
TypeError: Cannot read properties of undefined (reading 'setViewport') at setViewport (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:225:31) at Object.resizeDetailsView (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:58:23)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί with command bar button expanded β€Ί should pass accessibility validation with command bar menu open and high contrast mode=true: src/tests/end-to-end/common/browser-factory.ts#L130
browserType.launchPersistentContext: Executable doesn't exist at /ms-playwright/chromium-1117/chrome-linux/chrome ╔══════════════════════════════════════════════════════════════════════╗ β•‘ Looks like Playwright Test or Playwright was just updated to 1.44.0. β•‘ β•‘ Please update docker image as well. β•‘ β•‘ - current: mcr.microsoft.com/playwright:v1.43.1-focal β•‘ β•‘ - required: mcr.microsoft.com/playwright:v1.44.0-focal β•‘ β•‘ β•‘ β•‘ <3 Playwright Team β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• at launchNewBrowserContext (src/tests/end-to-end/common/browser-factory.ts:130:21) at launchBrowser (src/tests/end-to-end/common/browser-factory.ts:58:31) at Object.<anonymous> (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:28:19)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί with command bar button expanded β€Ί should pass accessibility validation with command bar menu open and high contrast mode=true: src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L225
TypeError: Cannot read properties of undefined (reading 'setViewport') at setViewport (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:225:31) at Object.resizeDetailsView (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:58:23)
Details View -> β€Ί Assessment -> Reflow β€Ί With command bar button visible β€Ί with command bar button expanded β€Ί should pass accessibility validation with command bar menu open and high contrast mode=true: src/tests/end-to-end/tests/details-view/reflow-ui.test.ts#L245
TypeError: Cannot read properties of undefined (reading 'clickSelector') at clickSelector (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:245:31) at Object.setButtonExpandedState (src/tests/end-to-end/tests/details-view/reflow-ui.test.ts:70:27)
RestartScanVisualHelperToggleTest β€Ί render: src/tests/unit/tests/DetailsView/components/restart-scan-visual-helper-toggle.test.tsx#L101
expect(received).not.toBeNull() Received: null at toBeNull (src/tests/unit/tests/DetailsView/components/restart-scan-visual-helper-toggle.test.tsx:101:41) at Object.assertVisualizationToggle (src/tests/unit/tests/DetailsView/components/restart-scan-visual-helper-toggle.test.tsx:60:9) at runMicrotasks (<anonymous>)
unit-tests (2/2)
Process completed with exit code 1.
e2e-web-tests (2/2)
No files were found with the provided path: test-results/e2e/chrome-logs test-results/e2e/failure-screenshots. No artifacts will be uploaded.
e2e-web-tests (1/2)
No files were found with the provided path: test-results/e2e/chrome-logs test-results/e2e/failure-screenshots. No artifacts will be uploaded.
codeql
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
codeql
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.17.2.

Artifacts

Produced during runtime
Name Size
build-results
52.5 MB
e2e-report-tests-results
545 Bytes
e2e-web-tests-1-results
19.8 KB
e2e-web-tests-2-results
3.87 KB
unit-tests-1-results
155 KB
unit-tests-2-results
157 KB