[AAP-70430] Shift platform help menu checks to Vitest and trim Playwright #104
platform-pull-request.yml
on: pull_request
Packages
19s
Matrix: vitest
Matrix: Checks
Matrix: Vitest (awx) / Vitest
Success
2s
SonarQube Code Quality
2m 21s
Annotations
5 errors and 3 warnings
|
Vitest (platform)
Process completed with exit code 1.
|
|
main/PlatformAbout.test.tsx > PlatformAbout > should set brand image src for 1 'dark' theme:
platform/main/PlatformAbout.test.tsx#L87
Error: expect(element).toHaveAttribute("src", "/assets/platform-logo-white.svg") // element.getAttribute("src") === "/assets/platform-logo-white.svg"
Expected the element to have attribute:
src="/assets/platform-logo-white.svg"
Received:
src="data:image/svg+xml,%3csvg%20id='logo'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20300%20300'%3e%3ctitle%3eAnsible-Mark-RGB%3c/title%3e%3cpolygon%20points='140.692%20148.221%20182.438%20181.102%20154.799%20112.893%20140.692%20148.221'%20fill='%23fff'/%3e%3cpath%20d='M153,46.12714A106.79132,106.79132,0,1,0,259.79286,152.92,106.79751,106.79751,0,0,0,153,46.12714Zm43.82007,161.46533c-2.08093,0-3.67822-.81091-5.89673-2.60413l-55.1178-44.52991-18.46741,46.268h-15.9613L148.03346,94.51422a7.08784,7.08784,0,0,1,6.76587-4.51355,6.85643,6.85643,0,0,1,6.58521,4.51355l42.51025,102.30072a10.11133,10.11133,0,0,1,.72827,3.1488A7.62408,7.62408,0,0,1,196.82008,207.59247Z'%20fill='%23fff'/%3e%3c/svg%3e"
❯ main/PlatformAbout.test.tsx:87:69
|
|
main/PlatformAbout.test.tsx > PlatformAbout > should set brand image src for 0 'light' theme:
platform/main/PlatformAbout.test.tsx#L87
Error: expect(element).toHaveAttribute("src", "/assets/platform-logo.svg") // element.getAttribute("src") === "/assets/platform-logo.svg"
Expected the element to have attribute:
src="/assets/platform-logo.svg"
Received:
src="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2021.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='logo'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20300%20300'%20style='enable-background:new%200%200%20300%20300;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:currentColor;}%20.st1%20{%20fill:%20%23fff;%20}%20.pf-v6-theme-dark%20.st1%20{%20fill:%20%23000;%20}%20%3c/style%3e%3ctitle%3eAnsible-Mark-RGB%3c/title%3e%3cpath%20class='st0'%20d='M259.8,152.9c0,59-47.8,106.8-106.8,106.8c-59,0-106.8-47.8-106.8-106.8S94,46.1,153,46.1c0,0,0,0,0,0%20C212,46.1,259.8,93.9,259.8,152.9C259.8,152.9,259.8,152.9,259.8,152.9'/%3e%3cpath%20class='st1'%20d='M154.8,112.9l27.6,68.2l-41.7-32.9L154.8,112.9z%20M203.9,196.8L161.4,94.5c-1-2.8-3.7-4.6-6.6-4.5%20c-3-0.1-5.7,1.7-6.8,4.5l-46.7,112.2h16l18.5-46.3l55.1,44.5c2.2,1.8,3.8,2.6,5.9,2.6c4.2,0.1,7.7-3.2,7.8-7.4c0-0.1,0-0.1,0-0.2%20C204.6,198.9,204.3,197.8,203.9,196.8'/%3e%3c/svg%3e"
❯ main/PlatformAbout.test.tsx:87:69
|
|
Success
Process completed with exit code 1.
|
|
Platform PR
Canceling since a higher priority waiting request for platform-refs/pull/3116/merge exists
|
|
Vitest (platform)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Vitest Coverage
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/download-artifact@v4, actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
SonarQube Code Quality
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, SonarSource/sonarqube-scan-action@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
pr_number
|
150 Bytes |
sha256:21d2c23a8c59f9c9745c5ab1a74f3d128589fcaf54a3e4eaa14aa5ba0233ce6a
|
|
|
vitest-coverage
Expired
|
12.4 MB |
sha256:1784b114b2ae652103bf83e8e1026fb615793de36ce57be0408a5f5f99496601
|
|