Skip to content

Upload

Upload #9

Triggered via push December 15, 2024 20:51
Status Failure
Total duration 52s
Artifacts

main.yml

on: push
Build and unit test
43s
Build and unit test
Firebase deploy
0s
Firebase deploy
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
src/components/Filter.songwei-genai.test.jsx > Filter Component > opens the modal and displays filter tags: src/components/Filter.songwei-genai.test.jsx#L33
Error: Invalid Chai property: toBeInTheDocument ❯ src/components/Filter.songwei-genai.test.jsx:33:22
src/components/Filter.songwei-genai.test.jsx > Filter Component > updates resource with selected tag: src/components/Filter.songwei-genai.test.jsx#L46
TestingLibraryElementError: Found multiple elements with the text: /Dogs/i Here are the matching elements: Ignored nodes: comments, script, style <span class="MuiChip-label MuiChip-labelMedium css-6od3lo-MuiChip-label" > Dogs </span> Ignored nodes: comments, script, style <span class="MuiChip-label MuiChip-labelMedium css-6od3lo-MuiChip-label" > Small Dogs </span> Ignored nodes: comments, script, style <span class="MuiChip-label MuiChip-labelMedium css-6od3lo-MuiChip-label" > Big Dogs </span> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body style="padding-right: 1024px; overflow: hidden;" > <div aria-hidden="true" > <button class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-1apkmlw-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > Filter <span class="MuiButton-icon MuiButton-endIcon MuiButton-iconSizeMedium css-1gulhci-MuiButton-endIcon" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-20bmp1-MuiSvgIcon-root" data-testid="TuneIcon" focusable="false" viewBox="0 0 24 24" > <path d="M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z" /> </svg> </span> </button> </div> <div aria-describedby="modal-modal-description" aria-labelledby="modal-modal-title" class="MuiModal-root css-79ws1d-MuiModal-root" role="presentation" > <div aria-hidden="true" class="MuiBackdrop-root MuiModal-backdrop css-i9fmh8-MuiBackdrop-root-MuiModal-backdrop" style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;" /> <div data-testid="sentinelStart" tabindex="0" /> <div class="MuiBox-root css-lbh2pi" tabindex="-1" > <h2 class="MuiTypography-root MuiTypography-h6 css-8zgow4-MuiTypography-root" id="modal-modal-title" > Tags </h2> <div class="MuiButtonBase-root MuiChip-root MuiChip-filled MuiChip-sizeMedium MuiChip-colorDefault MuiChip-clickable MuiChip-clickableColorDefault MuiChip-filledDefault css-12yid6j-MuiButtonBase-root-MuiChip-root" role="button" tabindex="0" > <span class="MuiChip-label MuiChip-labelMedium css-6od3lo-MuiChip-label" > Dogs </span> </div> <div class="MuiButtonBase-root MuiChip-root MuiChip-filled MuiChip-sizeMedium MuiChip-colorDefault MuiChip-clickable MuiChip-clickableColorDefault MuiChip-filledDefault css-12yid6j-MuiButtonBase-root-MuiChip-root" role="button" tabindex="0" > <span class="MuiChip-label MuiChip-labelMedium css-6od3lo-MuiChip-label" > Cats </span> </div> <div class="MuiButtonBase-root MuiChip-root MuiChip-filled MuiChip-sizeMedium MuiChip-colorDefault MuiChip-clickable MuiChip-clickableColorDefault MuiChip-filledDefault css-12yid6j-MuiButtonBase-root-MuiChip-root" role="button" tabindex="0" > <span class="MuiChip-label MuiChip-labelMedium css-6od3lo-MuiChip-label" > Small Pets </span> </div> <div class="MuiButtonBase-root MuiChip-root MuiChip-filled MuiChip-sizeMedium MuiChip-colorDefault MuiChip-clickable MuiChip-clickableColorDefault MuiChip-filledDefault css-12yid6j-MuiButtonBase-root-MuiChip-root" role="button" tabindex="0" > <span class="MuiChip-label MuiChip
Build and unit test
Process completed with exit code 1.
Build and unit test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636