Main -> Staging #295
Annotations
2 errors
Run tests:
frontend/src/components/ProjectCard/ProjectCard.test.tsx#L68
TestingLibraryElementError: Unable to find an element with the text: Finish Submission. 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="rounded-md border border-gray-300 p-4"
>
<div
class="flex justify-between items-center"
>
<div
class="h-full"
>
<h1
class="align-bottom h-full"
>
Website Redesign
</h1>
</div>
<div
class="flex items-center gap-3"
>
<button
class="
rounded-md font-medium transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed
px-6 py-3 text-base
bg-gray-700 text-white hover:bg-gray-800 focus:ring-gray-500
"
data-headlessui-state=""
type="button"
>
Edit Draft Project
</button>
</div>
</div>
<div
class="h-[1px] bg-gray-300 my-4"
/>
<div
class="flex items-center justify-between"
>
<div
class="flex flex-col items-start gap-3"
>
<p
class="text-gray-400"
>
Company Name
</p>
<div>
Acme Corp
</div>
</div>
<div
class="flex flex-col items-start gap-3"
>
<p
class="text-gray-400"
>
Status
</p>
<div>
<div
class="rounded-full border border-gray-300 px-2 py-1 min-w-20 flex items-center justify-center"
>
<span>
draft
</span>
</div>
</div>
</div>
<div
class="flex flex-col items-start gap-3"
>
<p
class="text-gray-400"
>
Date Submitted
</p>
<div>
October 30, 56062
</div>
</div>
<div
class="flex flex-col items-start gap-3"
>
<p
class="text-gray-400"
>
Documents Uploaded
</p>
<div>
15 Documents
</div>
</div>
<div
class="flex flex-col items-start gap-3"
>
<p
class="text-gray-400"
>
Team Members
</p>
<div>
8 Members
</div>
</div>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/ProjectCard/ProjectCard.test.tsx:68:37
|
Run tests
Process completed with exit code 1.
|
Loading