Skip to content

changed table to use system name and not id #497 #2053

changed table to use system name and not id #497

changed table to use system name and not id #497 #2053

Triggered via pull request April 23, 2024 14:14
Status Failure
Total duration 6m 31s
Artifacts

ci-build.yml

on: pull_request
Lint & Unit Tests
4m 55s
Lint & Unit Tests
End-to-End (with mock data) Tests
5m 33s
End-to-End (with mock data) Tests
End-to-End (with api) Tests
6m 22s
End-to-End (with api) Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
src/catalogue/catalogue.component.test.tsx > Catalogue > renders catalogue items table correctly: src/catalogue/catalogue.component.test.tsx#L123
TestingLibraryElementError: Unable to find an element with the text: Cameras 1. 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 MuiGrid-container css-11lq3yg-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-container css-11lq3yg-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-container MuiGrid-item css-1oq91nc-MuiGrid-root" > <div style="display: flex; align-items: center;" > <div class="MuiBox-root css-70qvj9" > <button aria-label="navigate to catalogue home" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root" tabindex="0" type="button" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root" data-testid="HomeIcon" focusable="false" viewBox="0 0 24 24" > <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" /> </svg> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> <nav aria-label="breadcrumb" class="MuiTypography-root MuiTypography-body1 MuiBreadcrumbs-root css-1mc59t7-MuiTypography-root-MuiBreadcrumbs-root" > <ol class="MuiBreadcrumbs-ol css-4pdmu4-MuiBreadcrumbs-ol" > <li class="MuiBreadcrumbs-li" > <a class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-1xylxj1-MuiTypography-root-MuiLink-root" href="#" /> </li> <li aria-hidden="true" class="MuiBreadcrumbs-separator css-1wuw8dw-MuiBreadcrumbs-separator" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-ptiqhd-MuiSvgIcon-root" data-testid="NavigateNextIcon" focusable="false" viewBox="0 0 24 24" > <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> </li> <li class="MuiBreadcrumbs-li" > <a class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-1xylxj1-MuiTypography-root-MuiLink-root" href="#" > beam-characterization </a> </li> <li aria-hidden="true" class="MuiBreadcrumbs-separator css-1wuw8dw-MuiBreadcrumbs-separator" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-ptiqhd-MuiSvgIcon-root" data-testid="NavigateNextIcon" focusable="false" viewBox="0 0 24 24" > <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> </li> <li class="MuiBreadcrumbs-li" >
src/items/itemsLandingPage.component.test.tsx > Items Landing Page > renders text correctly (only basic details given): src/items/itemsLandingPage.component.test.tsx#L55
TestingLibraryElementError: Unable to find an element with the text: System ID. 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 MuiGrid-container css-k6wrnl-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-container MuiGrid-item css-1u3l6ts-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-item css-6z1txv-MuiGrid-root" > <div class="MuiBox-root css-70qvj9" > <button aria-label="navigate to catalogue home" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root" tabindex="0" type="button" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root" data-testid="HomeIcon" focusable="false" viewBox="0 0 24 24" > <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" /> </svg> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> <nav aria-label="breadcrumb" class="MuiTypography-root MuiTypography-body1 MuiBreadcrumbs-root css-1mc59t7-MuiTypography-root-MuiBreadcrumbs-root" > <ol class="MuiBreadcrumbs-ol css-4pdmu4-MuiBreadcrumbs-ol" > <li class="MuiBreadcrumbs-li" > <a class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-1xylxj1-MuiTypography-root-MuiLink-root" href="#" /> </li> <li aria-hidden="true" class="MuiBreadcrumbs-separator css-1wuw8dw-MuiBreadcrumbs-separator" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-ptiqhd-MuiSvgIcon-root" data-testid="NavigateNextIcon" focusable="false" viewBox="0 0 24 24" > <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> </li> <li class="MuiBreadcrumbs-li" > <a class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-1xylxj1-MuiTypography-root-MuiLink-root" href="#" > beam-characterization </a> </li> <li aria-hidden="true" class="MuiBreadcrumbs-separator css-1wuw8dw-MuiBreadcrumbs-separator" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-ptiqhd-MuiSvgIcon-root" data-testid="NavigateNextIcon" focusable="false" viewBox="0 0 24 24" > <path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </svg> </li> <li class="MuiBreadcrumbs-li" > <a class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-1xylxj1-MuiTypography-root-MuiLink-root" href="#" > cameras
src/items/itemsLandingPage.component.test.tsx > Items Landing Page > navigates to the system when the system id is clicked: src/items/itemsLandingPage.component.test.tsx#L64
TestingLibraryElementError: Unable to find an element with the text: 65328f34a40ff5301575a4e3. 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 MuiGrid-container css-k6wrnl-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-container MuiGrid-item css-1u3l6ts-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-item css-6z1txv-MuiGrid-root" > <div class="MuiBox-root css-70qvj9" > <button aria-label="navigate to catalogue home" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root" tabindex="0" type="button" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root" data-testid="HomeIcon" focusable="false" viewBox="0 0 24 24" > <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" /> </svg> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> <nav aria-label="breadcrumb" class="MuiTypography-root MuiTypography-body1 MuiBreadcrumbs-root css-1mc59t7-MuiTypography-root-MuiBreadcrumbs-root" > <ol class="MuiBreadcrumbs-ol css-4pdmu4-MuiBreadcrumbs-ol" /> </nav> </div> </div> <div class="MuiGrid-root MuiGrid-container MuiGrid-item css-17acfpy-MuiGrid-root" > <button class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary css-1owl11-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > <span class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeMedium css-1d6wzja-MuiButton-startIcon" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root" data-testid="EditIcon" focusable="false" viewBox="0 0 24 24" > <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z" /> </svg> </span> Edit <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> <button class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary css-1owl11-MuiButtonBase-root-MuiButton-root" tabindex="0" type="button" > <span class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeMedium css-1d6wzja-MuiButton-startIcon" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root" data-testid="PrintIcon" focusable="false" viewBox="0 0 24 24" > <path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v
Lint & Unit Tests
Process completed with exit code 1.