cp #36
Annotations
3 errors
app/(dashboard)/page.test.tsx > Homepage > renders the sign-in button for signed-out users:
app/(dashboard)/page.test.tsx#L45
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/sign in/i`
Here are the accessible roles:
heading:
Name "Write Your Tests Faster Than Ever":
<h1
class="text-4xl font-bold text-gray-900 tracking-tight sm:text-5xl md:text-6xl"
/>
Name "Writes New Tests":
<h2
class="text-lg font-medium text-gray-900"
/>
Name "Fixes Broken Tests":
<h2
class="text-lg font-medium text-gray-900"
/>
Name "Seamless Integration":
<h2
class="text-lg font-medium text-gray-900"
/>
Name "Ready to streamline your pull requests?":
<h2
class="text-3xl font-bold text-gray-900 sm:text-4xl"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl max-w-2xl mx-auto"
/>
Name "":
<p
class="mt-2 text-base text-gray-500"
/>
Name "":
<p
class="mt-2 text-base text-gray-500"
/>
Name "":
<p
class="mt-2 text-base text-gray-500"
/>
Name "":
<p
class="mt-3 max-w-3xl text-lg text-gray-500"
/>
--------------------------------------------------
link:
Name "View on GitHub":
<a
href="https://github.com/gumroad/shortest"
target="_blank"
/>
Name "View Dashboard":
<a
href="/dashboard"
/>
Name "Get started":
<a
href="https://github.com/gumroad/shortest"
rel="noopener noreferrer"
target="_blank"
/>
Name "View Dashboard":
<a
href="/dashboard"
/>
--------------------------------------------------
button:
Name "View on GitHub":
<button />
Name "View Dashboard":
<button />
Name "Get started":
<button />
Name "View Dashboard":
<button />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="main"
>
<section
class="py-20"
>
<div
class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"
>
<div
class="text-center"
>
<h1
class="text-4xl font-bold text-gray-900 tracking-tight sm:text-5xl md:text-6xl"
>
Write Your Tests
<span
class="block text-orange-500"
>
Faster Than Ever
</span>
</h1>
<p
class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl max-w-2xl mx-auto"
>
Shortest observes your pull requests, helps you write tests for new features, and fixes broken tests that block you from shipping.
</p>
<div
class="mt-8 flex justify-center"
>
<a
href="https://github.com/gumroad/shortest"
target="_blank"
>
<button>
View on GitHub
<svg
class="lucide lucide-arrow-right ml-2 h-5 w-5"
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="M5 12h14"
/>
<path
d="m12 5 7 7-7 7"
/>
</svg>
</button>
</a>
<a
href="/dashboard"
>
<button>
View Dashboard
<svg
class="lucide lucide-arrow-right ml-2 h-5 w-5"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-wid
|
app/(dashboard)/page.test.tsx > Homepage > renders the dashboard link for signed-in users:
app/(dashboard)/page.test.tsx#L55
TestingLibraryElementError: Unable to find an accessible element with the role "link" and name `/go to dashboard/i`
Here are the accessible roles:
heading:
Name "Write Your Tests Faster Than Ever":
<h1
class="text-4xl font-bold text-gray-900 tracking-tight sm:text-5xl md:text-6xl"
/>
Name "Writes New Tests":
<h2
class="text-lg font-medium text-gray-900"
/>
Name "Fixes Broken Tests":
<h2
class="text-lg font-medium text-gray-900"
/>
Name "Seamless Integration":
<h2
class="text-lg font-medium text-gray-900"
/>
Name "Ready to streamline your pull requests?":
<h2
class="text-3xl font-bold text-gray-900 sm:text-4xl"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl max-w-2xl mx-auto"
/>
Name "":
<p
class="mt-2 text-base text-gray-500"
/>
Name "":
<p
class="mt-2 text-base text-gray-500"
/>
Name "":
<p
class="mt-2 text-base text-gray-500"
/>
Name "":
<p
class="mt-3 max-w-3xl text-lg text-gray-500"
/>
--------------------------------------------------
link:
Name "View on GitHub":
<a
href="https://github.com/gumroad/shortest"
target="_blank"
/>
Name "View Dashboard":
<a
href="/dashboard"
/>
Name "Get started":
<a
href="https://github.com/gumroad/shortest"
rel="noopener noreferrer"
target="_blank"
/>
Name "View Dashboard":
<a
href="/dashboard"
/>
--------------------------------------------------
button:
Name "View on GitHub":
<button />
Name "View Dashboard":
<button />
Name "Get started":
<button />
Name "View Dashboard":
<button />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="main"
>
<section
class="py-20"
>
<div
class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"
>
<div
class="text-center"
>
<h1
class="text-4xl font-bold text-gray-900 tracking-tight sm:text-5xl md:text-6xl"
>
Write Your Tests
<span
class="block text-orange-500"
>
Faster Than Ever
</span>
</h1>
<p
class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl max-w-2xl mx-auto"
>
Shortest observes your pull requests, helps you write tests for new features, and fixes broken tests that block you from shipping.
</p>
<div
class="mt-8 flex justify-center"
>
<a
href="https://github.com/gumroad/shortest"
target="_blank"
>
<button>
View on GitHub
<svg
class="lucide lucide-arrow-right ml-2 h-5 w-5"
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="M5 12h14"
/>
<path
d="m12 5 7 7-7 7"
/>
</svg>
</button>
</a>
<a
href="/dashboard"
>
<button>
View Dashboard
<svg
class="lucide lucide-arrow-right ml-2 h-5 w-5"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stro
|
test
Process completed with exit code 1.
|