update lock #5
Annotations
5 errors
|
test (20.x)
Process completed with exit code 1.
|
|
tests/components/feature-flags.test.ts > Feature Flags > should return true when feature flag is enabled:
tests/components/feature-flags.test.ts#L22
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/components/feature-flags.test.ts:22:57
|
|
tests/components/card-skeleton.test.tsx > CardSkeleton > should render the skeleton card:
tests/components/card-skeleton.test.tsx#L10
TestingLibraryElementError: Found multiple elements with the role "generic"
Here are the matching elements:
Ignored nodes: comments, script, style
<div>
<div
class="before:absolute before:inset-0 before:-translate-x-full before:animate-[shimmer_2s_infinite] before:bg-gradient-to-r before:from-transparent before:via-white/60 before:to-transparent relative overflow-hidden rounded-xl bg-gray-100 p-2 shadow-sm"
>
<div
class="flex p-4"
>
<div
class="h-5 w-5 rounded-md bg-gray-200"
/>
<div
class="ml-2 h-6 w-16 rounded-md bg-gray-200 text-sm font-medium"
/>
</div>
<div
class="flex items-center justify-center truncate rounded-xl bg-white px-4 py-8"
>
<div
class="h-7 w-20 rounded-md bg-gray-200"
/>
</div>
</div>
</div>
Ignored nodes: comments, script, style
<div
class="before:absolute before:inset-0 before:-translate-x-full before:animate-[shimmer_2s_infinite] before:bg-gradient-to-r before:from-transparent before:via-white/60 before:to-transparent relative overflow-hidden rounded-xl bg-gray-100 p-2 shadow-sm"
>
<div
class="flex p-4"
>
<div
class="h-5 w-5 rounded-md bg-gray-200"
/>
<div
class="ml-2 h-6 w-16 rounded-md bg-gray-200 text-sm font-medium"
/>
</div>
<div
class="flex items-center justify-center truncate rounded-xl bg-white px-4 py-8"
>
<div
class="h-7 w-20 rounded-md bg-gray-200"
/>
</div>
</div>
Ignored nodes: comments, script, style
<div
class="flex p-4"
>
<div
class="h-5 w-5 rounded-md bg-gray-200"
/>
<div
class="ml-2 h-6 w-16 rounded-md bg-gray-200 text-sm font-medium"
/>
</div>
Ignored nodes: comments, script, style
<div
class="h-5 w-5 rounded-md bg-gray-200"
/>
Ignored nodes: comments, script, style
<div
class="ml-2 h-6 w-16 rounded-md bg-gray-200 text-sm font-medium"
/>
Ignored nodes: comments, script, style
<div
class="flex items-center justify-center truncate rounded-xl bg-white px-4 py-8"
>
<div
class="h-7 w-20 rounded-md bg-gray-200"
/>
</div>
Ignored nodes: comments, script, style
<div
class="h-7 w-20 rounded-md bg-gray-200"
/>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="before:absolute before:inset-0 before:-translate-x-full before:animate-[shimmer_2s_infinite] before:bg-gradient-to-r before:from-transparent before:via-white/60 before:to-transparent relative overflow-hidden rounded-xl bg-gray-100 p-2 shadow-sm"
>
<div
class="flex p-4"
>
<div
class="h-5 w-5 rounded-md bg-gray-200"
/>
<div
class="ml-2 h-6 w-16 rounded-md bg-gray-200 text-sm font-medium"
/>
</div>
<div
class="flex items-center justify-center truncate rounded-xl bg-white px-4 py-8"
>
<div
class="h-7 w-20 rounded-md bg-gray-200"
/>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getElementError node_modules/@testing-library/dom/dist/query-helpers.js:20:35
❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/query-helpers.js:23:10
❯ node_modules/@testing-library/dom/dist/query-helpers.js:55:13
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ tests/components/card-skeleton.test.tsx:10:25
|
|
tests/public-route.spec.ts:
tests/public-route.spec.ts#L3
Error: Playwright Test did not expect test.describe() to be called here.
Most common reasons include:
- You are calling test.describe() in a configuration file.
- You are calling test.describe() in a file that is imported by the configuration file.
- You have two different versions of @playwright/test. This usually happens
when one of the dependencies in your package.json depends on @playwright/test.
❯ TestTypeImpl._currentSuite node_modules/playwright/lib/common/testType.js:74:13
❯ TestTypeImpl._describe node_modules/playwright/lib/common/testType.js:114:24
❯ Function.describe node_modules/playwright/lib/transform/transform.js:275:12
❯ tests/public-route.spec.ts:3:6
|
|
tests/example.spec.ts:
tests/example.spec.ts#L3
Error: Playwright Test did not expect test.describe() to be called here.
Most common reasons include:
- You are calling test.describe() in a configuration file.
- You are calling test.describe() in a file that is imported by the configuration file.
- You have two different versions of @playwright/test. This usually happens
when one of the dependencies in your package.json depends on @playwright/test.
❯ TestTypeImpl._currentSuite node_modules/playwright/lib/common/testType.js:74:13
❯ TestTypeImpl._describe node_modules/playwright/lib/common/testType.js:114:24
❯ Function.describe node_modules/playwright/lib/transform/transform.js:275:12
❯ tests/example.spec.ts:3:6
|