Skip to content

feat: fix mapper

feat: fix mapper #494

Triggered via push December 24, 2024 07:30
Status Failure
Total duration 1m 4s
Artifacts

build.yml

on: push
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
__test__/screens/AboutUsScreen.test.tsx > AboutUsScreen > renders queries correctly: web/__test__/screens/AboutUsScreen.test.tsx#L215
TestingLibraryElementError: Unable to find an element with the text: Introduction description. 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="max-w-screen bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-auto bg-gradient-to-b" > <div class="max-w-screen flex h-52 items-center justify-center" > <h1 class="text-5xl font-bold text-white md:text-7xl" > About Us! </h1> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white px-5 py-5 text-center text-black md:px-20 lg:px-48" > <h2 class="text-4xl font-bold" > Our Introduction </h2> <div class="py-10" > There is no introduction to display </div> <button class="bg-primary-orange my-5 rounded-full px-10 py-3 text-2xl font-bold text-white transition-all hover:scale-110" > Join Us Now! </button> </div> <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal flex h-auto flex-col items-center bg-gradient-to-b px-5 py-5 md:px-20" > <h1 class="text-4xl font-bold text-white" > Our Values </h1> <div class="py-10 text-white" > There are no values to display </div> </div> <div class="max-w-screen flex flex-col items-center bg-white px-2 py-5" > <h1 class="text-4xl font-bold text-black" > Our Partners </h1> <div class="py-10" > There are no partners to display </div> <h3 class="text-center text-xl text-black" > More information about our partners <span class="text-blue-500 underline" > <a href="/sponsors" > here </a> </span> </h3> </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="max-w-screen bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-auto bg-gradient-to-b" > <div class="max-w-screen flex h-52 items-center justify-center" > <h1 class="text-5xl font-bold text-white md:text-7xl" > About Us! </h1> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white px-5 py-5 text-center text-black md:px-20 lg:px-48" > <h2 class="text-4xl font-bold" > Our Introduction </h2> <div class="py-10" > There is no introduction to display </div> <button class="bg-primary-orange my-5 rounded-full px-10 py-3 text-2xl font-bold text-white transition-all hover:scale-110" > Join Us Now! </button> </div> <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal flex h-auto flex-col items-center bg-gradient-to-b px-5 py-5 md:px-20" > <h1 class="text-4xl font-bold text-white" > Our Values </h1> <div class="py-10 text-white" > There are no values to display </div> </div> <div class="max-w-screen flex flex-col items-center bg-white px-2 py-5" > <h1 class="text-4xl font-bold text-black" > Our Partners </h1> <div class="py-10" > There are no partners to display </div> <h3 class="text-center text-xl text-black"
__test__/screens/EventScreen.test.tsx > AboutUsScreen > renders queries correctly: web/__test__/screens/EventScreen.test.tsx#L196
TestingLibraryElementError: Unable to find an element with the text: Event 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="h-auto" > <div class="max-w-screen h-auto bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-auto bg-gradient-to-b" > <div class="flex flex-col items-center text-center text-white" > <h1 class="text-4xl font-bold md:text-6xl" > Our Upcoming Events! </h1> <h3 class="my-5 px-5 text-xl text-white" > Our exciting new events lined up just for you. </h3> </div> <div class="flex h-auto w-full flex-row items-center justify-center bg-transparent pb-10" > <div class="w-11/12 lg:w-3/4" > <div> <div class="mx-auto flex items-center justify-center" > <svg class="arrow mx-4 hidden h-16 w-16 text-gray-400 hover:cursor-pointer sm:flex opacity-40" fill="currentColor" height="1em" stroke="currentColor" stroke-width="0" viewBox="0 0 512 512" width="1em" xmlns="http://www.w3.org/2000/svg" > <path d="M249.38 336 170 256l79.38-80m-68.35 80H342" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" /> <path d="M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" fill="none" stroke-miterlimit="10" stroke-width="32" /> </svg> <div class="keen-slider" > <div class="keen-slider__slide p-2 hover:cursor-pointer" style="min-width: 0.3333333333333333px; max-width: 0.3333333333333333px; transform: translate3d(0px, 0px, 0);" > <div class="drop-shadow-all h-full w-full rounded-lg bg-white duration-100 hover:bg-white/80" > <div class="grid h-full text-gray-500" > <div class="flex items-start justify-start" > <img alt="No Upcoming Events Right Now" class="w-full rounded-t-lg object-contain" src="/src/assets/peacock.png" /> </div> <div class="flex items-end" > <div class="mx-2 flex-grow" > <h5 class="mt-3 text-center text-2xl font-bold text-black" > No Upcoming Events Right Now </h5> <div class="text-md my-1 flex items-center justify-start gap-2" > <svg class="min-w-6" fill="currentColor"
__test__/screens/ExecScreen.test.tsx > ExecScreen > renders current execs correctly: web/__test__/screens/ExecScreen.test.tsx#L169
TestingLibraryElementError: Unable to find an element with the text: Guryash. 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="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-auto bg-gradient-to-b" > <div class="flex flex-col items-center text-center" > <h1 class="text-5xl font-bold text-white" > Meet Our Team! </h1> <h3 class="my-5 px-5 text-xl text-white" > The faces behind AUIS that make it all happen. Hover over them to find out more about them! </h3> <h2 class="text-tertiary-blue text-3xl font-bold" > President </h2> <div class="py-10 text-white" > There are no execs to display </div> <h2 class="text-tertiary-blue text-3xl font-bold" > Executive Team </h2> <div class="py-10 text-white" > There are no execs to display </div> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white px-3 py-5" > <h1 class="text-center text-5xl font-bold text-black" > Previous Teams </h1> <div class="py-10" > There are no previous teams to display </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-auto bg-gradient-to-b" > <div class="flex flex-col items-center text-center" > <h1 class="text-5xl font-bold text-white" > Meet Our Team! </h1> <h3 class="my-5 px-5 text-xl text-white" > The faces behind AUIS that make it all happen. Hover over them to find out more about them! </h3> <h2 class="text-tertiary-blue text-3xl font-bold" > President </h2> <div class="py-10 text-white" > There are no execs to display </div> <h2 class="text-tertiary-blue text-3xl font-bold" > Executive Team </h2> <div class="py-10 text-white" > There are no execs to display </div> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white px-3 py-5" > <h1 class="text-center text-5xl font-bold text-black" > Previous Teams </h1> <div class="py-10" > There are no previous teams to display </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ __test__/screens/ExecScreen.test.tsx:169:25
__test__/screens/ExecScreen.test.tsx > ExecScreen > renders previous teams correctly: web/__test__/screens/ExecScreen.test.tsx#L187
TestingLibraryElementError: Unable to find an element with the text: 2023. 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="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-auto bg-gradient-to-b" > <div class="flex flex-col items-center text-center" > <h1 class="text-5xl font-bold text-white" > Meet Our Team! </h1> <h3 class="my-5 px-5 text-xl text-white" > The faces behind AUIS that make it all happen. Hover over them to find out more about them! </h3> <h2 class="text-tertiary-blue text-3xl font-bold" > President </h2> <div class="py-10 text-white" > There are no execs to display </div> <h2 class="text-tertiary-blue text-3xl font-bold" > Executive Team </h2> <div class="py-10 text-white" > There are no execs to display </div> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white px-3 py-5" > <h1 class="text-center text-5xl font-bold text-black" > Previous Teams </h1> <div class="py-10" > There are no previous teams to display </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-auto bg-gradient-to-b" > <div class="flex flex-col items-center text-center" > <h1 class="text-5xl font-bold text-white" > Meet Our Team! </h1> <h3 class="my-5 px-5 text-xl text-white" > The faces behind AUIS that make it all happen. Hover over them to find out more about them! </h3> <h2 class="text-tertiary-blue text-3xl font-bold" > President </h2> <div class="py-10 text-white" > There are no execs to display </div> <h2 class="text-tertiary-blue text-3xl font-bold" > Executive Team </h2> <div class="py-10 text-white" > There are no execs to display </div> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white px-3 py-5" > <h1 class="text-center text-5xl font-bold text-black" > Previous Teams </h1> <div class="py-10" > There are no previous teams to display </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ __test__/screens/ExecScreen.test.tsx:187:25
__test__/screens/HomeScreen.test.tsx > AboutUsScreen > renders queries correctly: web/__test__/screens/HomeScreen.test.tsx#L200
TestingLibraryElementError: Unable to find an element with the alt text: Nature Ignored nodes: comments, script, style <body> <div> <div> <div class="from-AUIS-dark-teal to-AUIS-teal min-h-[calc(100vh-70px)] bg-gradient-to-b" > <div class="flex" > <div class="hidden min-w-[150px] md:flex" > <img alt="AUIS logo" class="scaleX(-1) h-[300px] w-[150px] transform opacity-50 lg:h-[500px] lg:w-[250px]" src="/src/assets/peacock_white_left_side.png" /> </div> <div class="flex-grow" > <h1 class="drop-shadow-glow mt-10 text-center text-2xl font-bold text-white" > University of Auckland's Official Indian Club </h1> <div class="flex justify-center" > <img alt="AUIS logo" class="drop-shadow-glow h-auto w-[300px] max-w-lg rounded-lg lg:w-[500px]" src="/src/assets/auis_no_depth.png" /> </div> <h2 class="drop-shadow-glow mb-5 mt-2 text-center text-2xl font-bold text-white" > Not a member? </h2> <div class="flex justify-center" > <button class="bg-primary-orange rounded-2xl px-10 py-3 text-3xl font-bold text-white transition-all hover:scale-110" type="button" > Join us now! </button> </div> </div> <div class="hidden min-w-[150px] md:flex" > <img alt="AUIS logo" class="h-[300px] w-[150px] opacity-50 lg:h-[500px] lg:w-[250px]" src="/src/assets/peacock_white_side.png" /> </div> </div> </div> <div class="overflow-x-clip bg-white" > <div class="ml-[-150%] mt-16 h-[850px] w-[400%] -translate-y-36 rounded-t-[100%] bg-white sm:h-[600px] md:ml-[-50%] md:h-[600px] md:w-[200%] lg:h-[450px] xl:h-[400px] 2xl:h-[350px]" > <div class="mt-5 text-center text-2xl" > <h1 class="mb-5 pt-10 text-4xl font-bold text-black" > Quick intro to us! </h1> <div class="ml-[37.5%] w-[25%] md:ml-[25%] md:w-[50%]" > <div class="grid-row-6 lg:grid-row-3 mx-12 grid grid-cols-2 gap-x-10 lg:grid-cols-4" > <div class="col-start-1 col-end-1 row-start-1 row-end-1 flex w-full items-center justify-center" > <svg color="black" fill="currentColor" height="150" stroke="currentColor" stroke-width="0" style="color: black;" viewBox="0 0 24 24" width="150" xmlns="http://www.w3.org/2000/svg" > <path d="M0 0h24v24H0z" fill="none" /> <path d="M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V18H6v-1.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91zM4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58A2.01 2.01 0 0 0 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29zM20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm4 3.43c0-.81-.48-1.53-1.22-1.85A6.95 6.95 0 0 0 20 14c-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H24v-1.57zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z" /> </svg> </div> <div class="col-start-2 col-end-2 row-st
__test__/screens/PartnerScreen.test.tsx > PartnersScreen > renders current gold partners correctly: web/__test__/screens/PartnerScreen.test.tsx#L141
TestingLibraryElementError: Unable to find an element with the text: The Kebab and Chicken House. 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="max-w-screen h-auto bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-72 bg-gradient-to-b" > <div class="flex flex-col items-center text-center text-white" > <h1 class="text-4xl font-bold md:text-6xl" > Our Partners </h1> <h3 class="my-5 text-2xl" > Collaborating with amazing partners to enhance your AUIS experience </h3> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white py-5" > <div class="my-5 text-center" > No gold partners to display </div> <div class="my-5 text-center" > No silver partners to display </div> <div class="my-5 text-center" > No bronze partners to display </div> </div> <div class="max-w-screen flex flex-col items-center bg-white py-5 text-center" > <h1 class="text-5xl font-bold text-black" > Want To Partner With Us? </h1> <a class="bg-primary-orange my-5 rounded-full px-5 py-3 text-2xl font-bold text-white transition-all hover:scale-110" href="mailto:[email protected]" > Contact Us Now! </a> </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="max-w-screen h-auto bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-72 bg-gradient-to-b" > <div class="flex flex-col items-center text-center text-white" > <h1 class="text-4xl font-bold md:text-6xl" > Our Partners </h1> <h3 class="my-5 text-2xl" > Collaborating with amazing partners to enhance your AUIS experience </h3> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white py-5" > <div class="my-5 text-center" > No gold partners to display </div> <div class="my-5 text-center" > No silver partners to display </div> <div class="my-5 text-center" > No bronze partners to display </div> </div> <div class="max-w-screen flex flex-col items-center bg-white py-5 text-center" > <h1 class="text-5xl font-bold text-black" > Want To Partner With Us? </h1> <a class="bg-primary-orange my-5 rounded-full px-5 py-3 text-2xl font-bold text-white transition-all hover:scale-110" href="mailto:[email protected]" > Contact Us Now! </a> </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ __test__/screens/PartnerScreen.test.tsx:141:20
__test__/screens/PartnerScreen.test.tsx > PartnersScreen > renders current silver partners correctly: web/__test__/screens/PartnerScreen.test.tsx#L162
TestingLibraryElementError: Unable to find an element with the text: Subi's Desserts. 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="max-w-screen h-auto bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-72 bg-gradient-to-b" > <div class="flex flex-col items-center text-center text-white" > <h1 class="text-4xl font-bold md:text-6xl" > Our Partners </h1> <h3 class="my-5 text-2xl" > Collaborating with amazing partners to enhance your AUIS experience </h3> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white py-5" > <div class="my-5 text-center" > No gold partners to display </div> <div class="my-5 text-center" > No silver partners to display </div> <div class="my-5 text-center" > No bronze partners to display </div> </div> <div class="max-w-screen flex flex-col items-center bg-white py-5 text-center" > <h1 class="text-5xl font-bold text-black" > Want To Partner With Us? </h1> <a class="bg-primary-orange my-5 rounded-full px-5 py-3 text-2xl font-bold text-white transition-all hover:scale-110" href="mailto:[email protected]" > Contact Us Now! </a> </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="max-w-screen h-auto bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-72 bg-gradient-to-b" > <div class="flex flex-col items-center text-center text-white" > <h1 class="text-4xl font-bold md:text-6xl" > Our Partners </h1> <h3 class="my-5 text-2xl" > Collaborating with amazing partners to enhance your AUIS experience </h3> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white py-5" > <div class="my-5 text-center" > No gold partners to display </div> <div class="my-5 text-center" > No silver partners to display </div> <div class="my-5 text-center" > No bronze partners to display </div> </div> <div class="max-w-screen flex flex-col items-center bg-white py-5 text-center" > <h1 class="text-5xl font-bold text-black" > Want To Partner With Us? </h1> <a class="bg-primary-orange my-5 rounded-full px-5 py-3 text-2xl font-bold text-white transition-all hover:scale-110" href="mailto:[email protected]" > Contact Us Now! </a> </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ __test__/screens/PartnerScreen.test.tsx:162:25
__test__/screens/PartnerScreen.test.tsx > PartnersScreen > renders current bronze partners correctly: web/__test__/screens/PartnerScreen.test.tsx#L182
TestingLibraryElementError: Unable to find an element with the text: Beso. 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="max-w-screen h-auto bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-72 bg-gradient-to-b" > <div class="flex flex-col items-center text-center text-white" > <h1 class="text-4xl font-bold md:text-6xl" > Our Partners </h1> <h3 class="my-5 text-2xl" > Collaborating with amazing partners to enhance your AUIS experience </h3> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white py-5" > <div class="my-5 text-center" > No gold partners to display </div> <div class="my-5 text-center" > No silver partners to display </div> <div class="my-5 text-center" > No bronze partners to display </div> </div> <div class="max-w-screen flex flex-col items-center bg-white py-5 text-center" > <h1 class="text-5xl font-bold text-black" > Want To Partner With Us? </h1> <a class="bg-primary-orange my-5 rounded-full px-5 py-3 text-2xl font-bold text-white transition-all hover:scale-110" href="mailto:[email protected]" > Contact Us Now! </a> </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="max-w-screen h-auto bg-white" > <div class="max-w-screen from-AUIS-dark-teal to-AUIS-teal h-72 bg-gradient-to-b" > <div class="flex flex-col items-center text-center text-white" > <h1 class="text-4xl font-bold md:text-6xl" > Our Partners </h1> <h3 class="my-5 text-2xl" > Collaborating with amazing partners to enhance your AUIS experience </h3> </div> </div> <div class="max-w-screen flex h-auto flex-col items-center bg-white py-5" > <div class="my-5 text-center" > No gold partners to display </div> <div class="my-5 text-center" > No silver partners to display </div> <div class="my-5 text-center" > No bronze partners to display </div> </div> <div class="max-w-screen flex flex-col items-center bg-white py-5 text-center" > <h1 class="text-5xl font-bold text-black" > Want To Partner With Us? </h1> <a class="bg-primary-orange my-5 rounded-full px-5 py-3 text-2xl font-bold text-white transition-all hover:scale-110" href="mailto:[email protected]" > Contact Us Now! </a> </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ __test__/screens/PartnerScreen.test.tsx:182:25
__test__/utils/mapper/MapToEvent.test.tsx > mapToEvents > should map valid data correctly: web/src/utils/Mapper.ts#L245
TypeError: attributes.Ticket_ID.map is not a function ❯ Function.mapToEvent src/utils/Mapper.ts:245:37 ❯ __test__/utils/mapper/MapToEvent.test.tsx:83:19
__test__/utils/mapper/MapToEvent.test.tsx > mapToEvents > should handle missing title field gracefully: web/src/utils/Mapper.ts#L245
TypeError: attributes.Ticket_ID.map is not a function ❯ Function.mapToEvent src/utils/Mapper.ts:245:37 ❯ __test__/utils/mapper/MapToEvent.test.tsx:162:19
Build (strapi)
The job was canceled because "web" failed.
Build (strapi)
The operation was canceled.
Build (api)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (web)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636