upcoming: [DI-22217] - Added the Alert Listing page with Alerting Table and added relevant api endpoints #20488
Annotations
3 errors and 1 warning
Run yarn workspace linode-manager run test:
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.test.tsx#L42
TestingLibraryElementError: Unable to find an element with the text: Alert Name. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="MuiGrid-root css-1l6dni3-MuiGrid-root"
>
<div
class="css-1rr9936-StyledTableWrapper"
>
<table
aria-colcount="7"
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="ascending"
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-xhyhm3-root css-1vcvtjx-MuiTableCell-root"
role="columnheader"
scope="col"
>
<span
aria-label="Sort by alertName"
class="MuiButtonBase-root MuiTableSortLabel-root Mui-active css-16oj87c-label css-14co9aa-MuiButtonBase-root-MuiTableSortLabel-root"
role="button"
tabindex="0"
>
AlertName
<svg
class="MuiTableSortLabel-icon MuiTableSortLabel-iconDirectionAsc css-rzoejp-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
aria-sort="ascending"
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-xhyhm3-root css-1vcvtjx-MuiTableCell-root"
role="columnheader"
scope="col"
>
<span
aria-label="Sort by service"
class="MuiButtonBase-root MuiTableSortLabel-root Mui-active css-16oj87c-label css-14co9aa-MuiButtonBase-root-MuiTableSortLabel-root"
role="button"
tabindex="0"
>
Service
<svg
class="MuiTableSortLabel-icon MuiTableSortLabel-iconDirectionAsc css-rzoejp-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
aria-sort="ascending"
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-xhyhm3-root css-1vcvtjx-MuiTableCell-root"
role="columnheader"
scope="col"
>
<span
aria-label="Sort by status"
class="MuiButtonBase-root MuiTableSortLabel-root Mui-active css-16oj87c-label css-14co9aa-MuiButtonBase-root-MuiTableSortLabel-root"
role="button"
tabindex="0"
>
Status
<svg
class="MuiTableSortLabel-icon MuiTableSortLabel-iconDirectionAsc css-rzoejp-MuiTableSortLabel-icon"
height="20"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
|
Run yarn workspace linode-manager run test:
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertTableRow.test.tsx#L27
AssertionError: expected 'rgb(0, 176, 80)' to be 'rgb(50, 205, 50)' // Object.is equality
Expected: "rgb(50, 205, 50)"
Received: "rgb(0, 176, 80)"
❯ src/features/CloudPulse/Alerts/AlertsListing/AlertTableRow.test.tsx:27:51
|
Run yarn workspace linode-manager run test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading