Skip to content

ci: Fix test workflow steps #5

ci: Fix test workflow steps

ci: Fix test workflow steps #5

Triggered via push June 3, 2024 16:05
Status Failure
Total duration 1m 7s
Artifacts

unit-tests.yml

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

Annotations

2 errors and 1 warning
src/app/tests.tsx > Homepage: src/app/tests.tsx#L19
TestingLibraryElementError: Unable to find an element by: [data-testid="project-card"] Ignored nodes: comments, script, style <body> <div> <main class="flex flex-col items-center" > <div class="relative flex w-full flex-col justify-center overflow-hidden rounded-xl border border-solid border-[#f8d3b0] bg-hero bg-cover bg-no-repeat" > <div class="relative z-[1] flex flex-col justify-center px-5 py-12 md:px-10 md:py-16" > <h3 class="mb-3 mt-0 text-base font-semibold text-[#dd3345]" > Transforming Funding for Public Goods </h3> <h1 class="lett m-0 font-lora text-4xl font-medium leading-none tracking-tight md:text-[40px]" > Discover impact projects, donate directly, & <br class="hidden md:block" /> participate in funding rounds. </h1> <div class="mt-6 flex items-center gap-4 text-sm max-md:flex-col md:mt-10 md:gap-8" > <button class="flex text-sm leading-[157%] items-center justify-center gap-2 no-underline cursor-pointer transition-all duration-200 ease-in-out rounded-md border-none focus:shadow-button-focus bg-[var(--primary-600)] translate-y-[-1.5px] text-white shadow-button-primary hover:translate-y-0 hover:shadow-[0px_0px_0px_1px_rgba(0,0,0,0.84)_inset,0px_1px_1px_1px_rgba(246,118,122,0.5)_inset,0px_0px_0px_2px_rgba(246,118,122,0.5)_inset] px-4 py-[9px] font-medium w-full md:w-[180px]" > Donate Randomly </button> </div> </div> </div> <div class="flex w-full flex-col " > <div class="mt-4 flex flex-row flex-wrap items-center gap-4 px-2 py-0 md:gap-6 md:px-10" > <div class="flex flex-row items-baseline gap-2 text-xl font-semibold text-[#dd3345]" > - <div class="text-sm font-normal text-[#656565]" > Donated </div> </div> <div class="flex flex-row items-baseline gap-2 text-xl font-semibold text-[#dd3345]" > - <div class="text-sm font-normal text-[#656565]" > Donations </div> </div> </div> <div class="mt-4 h-px w-full bg-[#ebebeb]" /> </div> <div class="flex w-full flex-col gap-10 px-2 pt-10 md:px-10 md:pt-12" > <div class="flex w-full flex-col gap-5" > <div class="text-sm font-medium uppercase leading-6 tracking-[1.12px] text-[#292929]" > Featured projects </div> </div> <div class="grid w-full grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3" > <a href="user/v1.foodbank.near" > <div class="mx-auto flex h-full w-full max-w-[420px] flex-col overflow-hidden rounded-xl border border-solid border-[#dbdbdb] bg-white shadow-[0px_-2px_0px_#dbdbdb_inset] transition-all duration-300 hover:translate-y-[-1rem]" > <div class="relative h-[145px] w-full" > <div class="animate-pulse rounded-md bg-muted h-full w-full" /> </div> <div class="flex flex-1 flex-col gap-4 px-6 pb-6" > <div class="relative -mt-5 h-10 w-10" > <div class="animate-pulse bg-muted h-full w-full rounded-full" /> </div> <div class="w-full text-base font-semibold text-[#2e2e2e]" > <div class="animate-pulse rounded-md bg-muted h-4 w-12" />
build (18.18)
Process completed with exit code 1.
build (18.18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.