test: [M3-8616] - Fix failures in DBaaS update tests #17943
Annotations
2 errors and 2 warnings
packages/manager/src/features/Databases/DatabaseDetail/DatabaseBackups/DatabaseBackups.test.tsx#L41
TestingLibraryElementError: Found multiple elements with the text: 2024-09-19 08:48
Here are the matching elements:
Ignored nodes: comments, script, style
<span
class="MuiTypography-root MuiTypography-body1 css-4ofmxk-MuiTypography-root"
>
2024-09-19 08:48
</span>
Ignored nodes: comments, script, style
<span
class="MuiTypography-root MuiTypography-body1 css-4ofmxk-MuiTypography-root"
>
2024-09-19 08:48
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="css-zl5p8e-StyledTableWrapper"
>
<table
class="MuiTable-root css-9dluxt-MuiTable-root"
role="table"
>
<thead
class="MuiTableHead-root css-15wwp11-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-b1l0vt-MuiTableRow-root-StyledTableRow"
>
<th
aria-sort="descending"
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeMedium css-xhyhm3-root css-jh6nse-MuiTableCell-root"
role="columnheader"
scope="col"
style="width: 155px;"
>
<span
aria-label="Sort by created"
class="MuiButtonBase-root MuiTableSortLabel-root Mui-active css-16oj87c-label css-14co9aa-MuiButtonBase-root-MuiTableSortLabel-root"
role="button"
tabindex="0"
>
Date Created
<svg
class="MuiTableSortLabel-icon MuiTableSortLabel-iconDirectionDesc css-1l6av2z-MuiTableSortLabel-icon"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5.41 2L10 5.709 14.59 2 16 3.142 10 8 4 3.142z"
fill="currentColor"
transform="matrix(1 0 0 -1 0 10)"
/>
</svg>
</span>
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeMedium css-1336zz4-root emptyCell css-jh6nse-MuiTableCell-root"
scope="col"
/>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeMedium css-1336zz4-root emptyCell css-jh6nse-MuiTableCell-root"
scope="col"
style="width: 100px;"
/>
</tr>
</thead>
<tbody
class="MuiTableBody-root css-apqrd9-MuiTableBody-root"
>
<tr
class="MuiTableRow-root css-ldtlyf-MuiTableRow-root-StyledTableRow"
>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1336zz4-root css-ju2a0g-MuiTableCell-root"
>
<span
class="MuiTypography-root MuiTypography-body1 css-4ofmxk-MuiTypography-root"
>
2024-09-12 00:20
</span>
</td>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1336zz4-root css-ju2a0g-MuiTableCell-root"
>
8 days ago
</td>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1336zz4-root css-ju2a0g-MuiTableCell-root"
>
<div
class="css-7tclmk-inlineActions"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-1td0z7f-MuiButtonBase-root-MuiButton-root-StyledActionButton"
data-testid="Button"
tabindex="0"
type="button"
|
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "packages-api-v4-lib", "packages-validation-lib", "storybook-build".
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/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading