Skip to content

fix(deps): update internal dependencies #13600

fix(deps): update internal dependencies

fix(deps): update internal dependencies #13600

Triggered via pull request March 26, 2024 15:28
Status Failure
Total duration 9m 51s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/app/base/components/FormikFormButtons/FormikFormButtons.test.tsx > can display a tooltip for the secondary submit action: src/app/base/components/FormikFormButtons/FormikFormButtons.test.tsx#L70
Error: expect(element).toHaveAccessibleDescription() Expected element to have accessible description: Will add another Received: ❯ src/app/base/components/FormikFormButtons/FormikFormButtons.test.tsx:70:5
src/app/base/components/NetworkActionRow/NetworkActionRow.test.tsx > NetworkActionRow > add physical > disables the button when networking is disabled: src/testing/utils.tsx#L283
TestingLibraryElementError: Unable to find an accessible element with the role "tooltip" and name "Network can't be modified for this machine." Here are the accessible roles: list: Name "": <ul class="u-no-margin--bottom p-inline-list" /> -------------------------------------------------- listitem: Name "": <li class="p-inline-list__item" /> -------------------------------------------------- button: Name "Add interface": <button class="p-button" data-testid="addPhysical" disabled="" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="row" > <div class="col-8" > <ul class="u-no-margin--bottom p-inline-list" > <li class="p-inline-list__item" > <span> <span style="display: inline-block;" > <button class="p-button" data-testid="addPhysical" disabled="" > Add interface </button> </span> </span> </li> </ul> </div> <div class="u-align--right col-4" /> </div> </div> <div /> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:109:15 ❯ Module.expectTooltipOnHover src/testing/utils.tsx:283:12 ❯ src/app/base/components/NetworkActionRow/NetworkActionRow.test.tsx:61:7
src/app/base/components/NodeActionMenu/NodeActionMenu.test.tsx > NodeActionMenu > can change the display text of the nodes in the disabled tooltip: src/app/base/components/NodeActionMenu/NodeActionMenu.test.tsx#L227
TestingLibraryElementError: Unable to find an accessible element with the role "tooltip" and name "Select foobars below to perform an action." Here are the accessible roles: button: Name "Take action": <button aria-controls=":rj:" aria-expanded="false" aria-haspopup="true" aria-pressed="false" class="p-button--positive has-icon p-contextual-menu__toggle" disabled="" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <span> <span style="display: inline-block;" > <span class="p-contextual-menu" data-testid="take-action-dropdown" > <button aria-controls=":rj:" aria-expanded="false" aria-haspopup="true" aria-pressed="false" class="p-button--positive has-icon p-contextual-menu__toggle" disabled="" type="button" > <span> Take action </span> <i class="p-icon--chevron-down p-contextual-menu__indicator is-light" /> </button> </span> </span> </span> </div> <div /> <div /> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/app/base/components/NodeActionMenu/NodeActionMenu.test.tsx:227:14
src/app/base/components/ScriptStatus/ScriptStatus.test.tsx > ScriptStatus > can have its icon wrapped in a tooltip: src/testing/utils.tsx#L283
TestingLibraryElementError: Unable to find an accessible element with the role "tooltip" and name "Tooltip!" Here are the accessible roles: button: Name "success": <button class="p-button--base has-icon is-small u-no-border u-no-line-height u-no-margin" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <span class="" > <span style="display: inline-block;" > <button class="p-button--base has-icon is-small u-no-border u-no-line-height u-no-margin" type="button" > <i aria-label="success" class="p-icon--success" /> </button> </span> </span> </div> <div /> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:109:15 ❯ Module.expectTooltipOnHover src/testing/utils.tsx:283:12 ❯ src/app/base/components/ScriptStatus/ScriptStatus.test.tsx:80:5
src/app/base/components/TableActions/TableActions.test.tsx > TableActions > correctly renders tooltips: src/testing/utils.tsx#L283
TestingLibraryElementError: Unable to find an accessible element with the role "tooltip" and name `/edit tooltip/i` Here are the accessible roles: link: Name "Edit": <a class="p-button--base has-icon is-dense u-table-cell-padding-overlap" data-testid="table-actions-edit" href="/bar" /> -------------------------------------------------- button: Name "Delete": <button class="p-button--base has-icon is-dense u-table-cell-padding-overlap" data-testid="table-actions-delete" to="" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div> <span> <span style="display: inline-block;" > <a class="p-button--base has-icon is-dense u-table-cell-padding-overlap" data-testid="table-actions-edit" href="/bar" > <i class="p-icon--edit" > Edit </i> </a> </span> </span> <span> <span style="display: inline-block;" > <button class="p-button--base has-icon is-dense u-table-cell-padding-overlap" data-testid="table-actions-delete" to="" type="button" > <i class="p-icon--delete" > Delete </i> </button> </span> </span> </div> </div> <div /> <div /> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:109:15 ❯ Module.expectTooltipOnHover src/testing/utils.tsx:283:12 ❯ src/app/base/components/TableActions/TableActions.test.tsx:47:5
src/app/images/components/ImagesTable/ImagesTable.test.tsx > disables delete for default commissioning release images: src/app/images/components/ImagesTable/ImagesTable.test.tsx#L264
Error: expect(element).toHaveAccessibleDescription() Expected element to have accessible description: Cannot delete images of the default commissioning release. Received: ❯ src/app/images/components/ImagesTable/ImagesTable.test.tsx:264:24
src/app/images/components/ImagesTable/ImagesTable.test.tsx > disables delete action for images being downloaded: src/app/images/components/ImagesTable/ImagesTable.test.tsx#L301
Error: expect(element).toHaveAccessibleDescription() Expected element to have accessible description: Cannot delete images that are currently being imported. Received: ❯ src/app/images/components/ImagesTable/ImagesTable.test.tsx:301:24
src/app/intro/views/ImagesIntro/ImagesIntro.test.tsx > ImagesIntro > disables the continue button if no image and source has been configured: src/app/intro/views/ImagesIntro/ImagesIntro.test.tsx#L72
TestingLibraryElementError: Unable to find an accessible element with the role "tooltip" and name "At least one image and source must be configured to continue." Here are the accessible roles: main: Name "": <main class="l-main" /> -------------------------------------------------- group: Name "success-grey Images": <div aria-labelledby=":r4:" class="maas-intro__card p-card--highlighted" role="group" /> -------------------------------------------------- heading: Name "success-grey Images": <h3 class="p-card__title" id=":r4:" /> Name "success-grey Images": <h1 class="p-heading--4" data-testid="section-header-title" /> Name "Showing images synced from sources": <h4 data-testid="image-sync-text" /> Name "Ubuntu releases": <h4 /> Name "Architectures": <h4 /> -------------------------------------------------- separator: Name "": <hr /> Name "": <hr /> -------------------------------------------------- button: Name "Change source": <button class="p-button" data-testid="change-source-button" /> Name "Update selection": <button class="formik-form-buttons__button p-action-button p-button--positive" type="submit" /> Name "Continue": <button class="p-button--positive has-icon" data-testid="images-intro-continue" disabled="" /> -------------------------------------------------- list: Name "": <ul class="p-list" data-testid="lts-releases" /> Name "": <ul class="p-list" data-testid="non-lts-releases" /> -------------------------------------------------- grid: Name "Images": <table aria-label="Images" class="images-table p-table-expanding--light p-table--expanding" role="grid" /> -------------------------------------------------- rowgroup: Name "": <thead /> -------------------------------------------------- row: Name "Release Architecture Size Deployable in memory Status Last deployed Machines Actions": <tr role="row" /> -------------------------------------------------- columnheader: Name "Release": <th aria-sort="descending" class="release-col" role="columnheader" /> Name "Architecture": <th aria-sort="none" class="arch-col" role="columnheader" /> Name "Size": <th aria-sort="none" class="size-col" role="columnheader" /> Name "Deployable in memory": <th class="diskless-col" role="columnheader" /> Name "Status": <th aria-sort="none" class="status-col" role="columnheader" /> Name "Last deployed": <th aria-sort="none" class="last-deployed-col" role="columnheader" /> Name "Machines": <th aria-sort="none" class="machines-col" role="columnheader" /> Name "Actions": <th class="actions-col u-align--right" role="columnheader" /> -------------------------------------------------- contentinfo: Name "": <footer class="content-section__footer" /> -------------------------------------------------- link: Name "Back": <a class="p-button" href="/intro" /> -------------------------------------------------- complementary: Name "": <aside class="l-aside is-collapsed" data-testid="app-side-panel" id="aside-panel" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <main class="l-main" > <div class="l-main__content" id="main-content" > <div id="main-content-section" > <div> <div class="row" > <div class="col-12" > <div class="" /> <div aria-labelledby=":r4:" class="maas-intro__card p-card--highlighted" role="group" > <h3
src/app/settings/components/SettingsTable/SettingsTable.test.tsx > can render a button with a tooltip: src/app/settings/components/SettingsTable/SettingsTable.test.tsx#L100
TestingLibraryElementError: Unable to find an accessible element with the role "tooltip" Here are the accessible roles: banner: Name "": <header class="main-toolbar" /> -------------------------------------------------- link: Name "Add User": <a aria-disabled="false" class="p-button" href="/foo" /> -------------------------------------------------- alert: Name "": <span aria-live="polite" class="p-text--default" role="alert" /> -------------------------------------------------- grid: Name "": <table class="p-table-expanding--light u-nudge-down u-no-padding--bottom p-table--expanding" role="grid" /> -------------------------------------------------- rowgroup: Name "": <tbody /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="settings-table" > <header class="main-toolbar" > <div aria-hidden="true" class="main-toolbar__controls main-toolbar__controls--observer" style="visibility: hidden; position: absolute;" > <span> <span style="display: inline-block;" > <a aria-disabled="false" class="p-button" href="/foo" > Add User </a> </span> </span> </div> <div class="main-toolbar__controls" > <span> <span style="display: inline-block;" > <a aria-disabled="false" class="p-button" href="/foo" > Add User </a> </span> </span> </div> </header> <div class="settings-table__loader" > <span aria-live="polite" class="p-text--default" role="alert" > <i class="p-icon--spinner u-animation--spin" > Loading </i> </span> </div> <table class="p-table-expanding--light u-nudge-down u-no-padding--bottom p-table--expanding" role="grid" > <tbody /> </table> <div class="settings-table__lines" /> </div> </div> <div /> <div /> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/app/settings/components/SettingsTable/SettingsTable.test.tsx:100:17
src/app/base/components/node/DiskNumaNodes/DiskNumaNodes.test.tsx > DiskNumaNodes > can show multiple numa nodes with a warning: src/testing/utils.tsx#L283
TestingLibraryElementError: Unable to find an accessible element with the role "tooltip" and name `/This volume is spread over multiple NUMA nodes/` Here are the accessible roles: button: Name "warning": <button class="p-button--base has-icon is-small u-no-border u-no-line-height u-no-margin" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <span class="u-nudge-left--x-small" > <span style="display: inline-block;" > <button class="p-button--base has-icon is-small u-no-border u-no-line-height u-no-margin" type="button" > <i aria-label="warning" class="p-icon--warning" /> </button> </span> </span> <span data-testid="numa-nodes" > 0, 1 </span> </div> <div /> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:109:15 ❯ Module.expectTooltipOnHover src/testing/utils.tsx:283:12 ❯ src/app/base/components/node/DiskNumaNodes/DiskNumaNodes.test.tsx:24:5