Skip to content

fix(ui): Download documents button #1598

fix(ui): Download documents button

fix(ui): Download documents button #1598

Triggered via pull request January 22, 2025 21:01
Status Failure
Total duration 3m 53s
Artifacts

pr-coverage-annotation.yml

on: pull_request
coverage-report
3m 38s
coverage-report
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
src/features/package/package-activity/index.test.tsx > Package Activity > calls 'Download documents' with onZip and the correct attachment arguments: react-app/src/features/package/package-activity/index.test.tsx#L118
TestingLibraryElementError: Unable to find an element with the text: Download documents. 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> <section class="p-4 border rounded-sm border-cardBorder" id="package_activity" > <h1 class="text-3xl font-semibold mb-2" data-testid="undefined-title" > <div class="flex justify-between" > Package Activity ( 7 ) <button class="inline-flex items-center justify-center rounded-md text-[16px] ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border border-primary text-primary font-bold hover:bg-primary/10 h-10 px-4 py-2" > Download all documents </button> </div> </h1> <hr class="my-6 bg-slate-200" /> <div class="gap-8 flex flex-col" data-testid="undefined-child" > <div class="flex flex-col gap-2" data-orientation="vertical" > <div class="border-b" data-orientation="vertical" data-state="open" > <h3 class="flex" data-orientation="vertical" data-state="open" > <button aria-controls="radix-:rt:" aria-expanded="true" class="flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180 bg-gray-100 px-3" data-orientation="vertical" data-radix-collection-item="" data-state="open" id="radix-:rs:" type="button" > <p class="flex flex-row gap-2 text-gray-600" > <strong> Initial Package Submitted </strong> - Sun, Jan 1, 2023 12:00:00 AM </p> <svg class="h-4 w-4 shrink-0 transition-transform duration-200" fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" > <path d="m6 9 6 6 6-6" /> </svg> </button> </h3> <div aria-labelledby="radix-:rs:" class="text-sm transition-all p-4" data-orientation="vertical" data-state="open" id="radix-:rt:" role="region" style="--radix-accordion-content-height: var(--radix-collapsible-content-height); --radix-accordion-content-width: var(--radix-collapsible-content-width); transition-duration: 0s; animation-name: none;" > <div class="pb-4 pt-0" > <div class="flex flex-col gap-6" > <div> <h2 class="font-bold text-lg mb-2" > Attachments </h2> <div class="w-full border-[1px] overflow-auto" > <table class="w-full caption-bottom text-sm" > <thead class="[&_tr]:border-b" >
coverage-report
Process completed with exit code 1.
coverage-report
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636