Skip to content

chore: Upgrade to Ant Design 5 [WIP] #432

chore: Upgrade to Ant Design 5 [WIP]

chore: Upgrade to Ant Design 5 [WIP] #432

Triggered via pull request April 25, 2025 14:08
Status Failure
Total duration 2m 55s
Artifacts 2

pipeline.yml

on: pull_request
Matrix: compile
storybook
52s
storybook
Matrix: build-and-test-app
e2e-web
0s
e2e-web
preview-web
preview-web
release-app
release-app
release-web-prod
release-web-prod
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
compile (ubuntu-20.04)
This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see https://github.com/actions/runner-images/issues/11101
format
Process completed with exit code 1.
storybook
Process completed with exit code 1.
test
Process completed with exit code 1.
src/renderer/pages/flash/__tests__/FlashingWizard.spec.tsx > pages/FlashingWizard > Selecting firmware > Cloud firmware > should render all releases and targets, and allow release and target to be selected: src/renderer/pages/flash/__tests__/FlashingWizard.spec.tsx#L83
TestingLibraryElementError: Unable to find a label with the text of: EdgeTX "Dauntless" 2.5.0 Ignored nodes: comments, <script />, <style /> <body> <div> <div class="sc-aXZVg cZVjIL" > <div class="ant-steps ant-steps-horizontal css-dev-only-do-not-override-1yacf91 ant-steps-label-vertical ant-steps-dot" style="max-width: 600px;" > <div class="ant-steps-item ant-steps-item-process ant-steps-item-active" data-testid="step-indicator-0" > <div class="ant-steps-item-container" > <div class="ant-steps-item-tail" /> <div class="ant-steps-item-icon" > <span class="ant-steps-icon" > <span class="ant-steps-icon-dot" /> </span> </div> <div class="ant-steps-item-content" > <div class="ant-steps-item-title" > Select a firmware </div> </div> </div> </div> <div class="ant-steps-item ant-steps-item-wait" data-testid="step-indicator-1" > <div class="ant-steps-item-container" > <div class="ant-steps-item-tail" /> <div class="ant-steps-item-icon" > <span class="ant-steps-icon" > <span class="ant-steps-icon-dot" /> </span> </div> <div class="ant-steps-item-content" > <div class="ant-steps-item-title" > Connect radio </div> </div> </div> </div> <div class="ant-steps-item ant-steps-item-wait" data-testid="step-indicator-2" > <div class="ant-steps-item-container" > <div class="ant-steps-item-tail" /> <div class="ant-steps-item-icon" > <span class="ant-steps-icon" > <span class="ant-steps-icon-dot" /> </span> </div> <div class="ant-steps-item-content" > <div class="ant-steps-item-title" > Overview & flash </div> </div> </div> </div> </div> </div> <div class="sc-gEvEer eBQcyL" > <div style="min-height: 0; height: 100%; padding: 16px;" > <div class="sc-kAyceB grtNWk" style="justify-content: space-around;" > <div class="ant-tabs ant-tabs-top css-dev-only-do-not-override-1yacf91" > <div aria-orientation="horizontal" class="ant-tabs-nav" role="tablist" > <div class="ant-tabs-nav-wrap" > <div class="ant-tabs-nav-list" style="transform: translate(0px, 0px);" > <div class="ant-tabs-tab ant-tabs-tab-active" data-node-key="releases" > <div aria-controls="rc-tabs-test-panel-releases" aria-selected="true" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-releases" role="tab" tabindex="0" > <span> <span aria-label="rocket"
src/renderer/components/flashing/__tests__/FlashButton.spec.tsx > <FlashButton /> > should render a tooltip when clicked if flashing is not supported: src/renderer/components/flashing/__tests__/FlashButton.spec.tsx#L24
TestingLibraryElementError: Unable to find an accessible element with the role "tooltip" Here are the accessible roles: button: Name "warning Flash via USB": <button aria-describedby="test-id" class="ant-btn css-dev-only-do-not-override-1yacf91 ant-btn-primary ant-btn-color-primary ant-btn-variant-solid" disabled="" type="button" /> -------------------------------------------------- img: Name "warning": <span aria-label="warning" class="anticon anticon-warning" role="img" /> -------------------------------------------------- Ignored nodes: comments, <script />, <style /> <body> <div> <button aria-describedby="test-id" class="ant-btn css-dev-only-do-not-override-1yacf91 ant-btn-primary ant-btn-color-primary ant-btn-variant-solid" disabled="" type="button" > <span class="ant-btn-icon" > <span aria-label="warning" class="anticon anticon-warning" role="img" > <svg aria-hidden="true" data-icon="warning" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z" /> </svg> </span> </span> <span> Flash via USB </span> </button> ) </div> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:38:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:90:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:62:17 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:111:19 ❯ src/renderer/components/flashing/__tests__/FlashButton.spec.tsx:24:19
lint: src/shared/backend/services/cloudbuild.ts#L134
Unexpected console statement
lint: src/renderer/pages/sdcard/editor/JobExecutionModal.tsx#L137
Unexpected console statement
lint: src/renderer/pages/sdcard/editor/AssetsTab.tsx#L403
Forbidden non-null assertion
lint: src/renderer/pages/sdcard/editor/AssetsTab.tsx#L402
Forbidden non-null assertion
lint: src/renderer/pages/sdcard/editor/AssetsTab.tsx#L396
Forbidden non-null assertion
lint: src/renderer/pages/sdcard/editor/AssetsTab.tsx#L395
Forbidden non-null assertion
lint: src/main/index.ts#L153
Unexpected console statement
lint: src/main/index.ts#L98
Unexpected console statement
lint: src/main/index.ts#L95
Unexpected console statement
lint: src/main/index.ts#L85
Unexpected console statement

Artifacts

Produced during runtime
Name Size Digest
compiled-macos-latest Expired
13.8 MB
sha256:2e8d8fcc1d1301b86f1570cf30b0d3592252e6de1535e19b57c3aa37f4077e63
compiled-windows-latest Expired
13.9 MB
sha256:9e3135c6ea662bf213380aa9a9aa89c3e45164c45487deab164c488e138c37a9