fix: resolve post-merge broken JSON configs and page.tsx errors #150
Annotations
10 errors and 1 warning
|
src/__tests__/Button.test.tsx > Button > applies secondary variant classes:
src/__tests__/Button.test.tsx#L47
Error: expect(element).toHaveClass("bg-gray-700")
Expected the element to have class:
bg-gray-700
Received:
inline-flex items-center justify-center font-semibold transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-surface-900 disabled:pointer-events-none disabled:opacity-40 bg-surface-800 text-slate-200 hover:bg-surface-900/80 active:bg-surface-950 border border-white/[0.08] focus-visible:ring-brand-400 h-10 px-4.5 text-sm gap-2 rounded-lg
❯ src/__tests__/Button.test.tsx:47:40
|
|
src/__tests__/Button.test.tsx > Button > applies primary variant classes by default:
src/__tests__/Button.test.tsx#L42
Error: expect(element).toHaveClass("bg-indigo-600")
Expected the element to have class:
bg-indigo-600
Received:
inline-flex items-center justify-center font-semibold transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-surface-900 disabled:pointer-events-none disabled:opacity-40 bg-brand-600 text-white hover:bg-brand-500 active:bg-brand-700 shadow-glow-sm focus-visible:ring-brand-400 h-10 px-4.5 text-sm gap-2 rounded-lg
❯ src/__tests__/Button.test.tsx:42:40
|
|
src/__tests__/Button.test.tsx > Button > shows Loading… and disables when isLoading:
src/__tests__/Button.test.tsx#L21
Error: expect(element).toHaveTextContent()
Expected element to have text content:
Loading…
Received:
Click me
❯ src/__tests__/Button.test.tsx:21:17
|
|
src/__tests__/Button.test.tsx > Button > is disabled when disabled prop is true:
src/__tests__/Button.test.tsx#L15
Error: expect(element).toHaveAttribute("aria-disabled", "true") // element.getAttribute("aria-disabled") === "true"
Expected the element to have attribute:
aria-disabled="true"
Received:
null
❯ src/__tests__/Button.test.tsx:15:17
|
|
e2e/verify-page.spec.ts:
e2e/verify-page.spec.ts#L4
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.
- You are calling test.describe() from an async test.describe() block. Only sync ones are supported.
❯ _TestTypeImpl._currentSuite node_modules/playwright/lib/common/index.js:2257:13
❯ _TestTypeImpl._describe node_modules/playwright/lib/common/index.js:2298:24
❯ Function.describe node_modules/playwright/lib/common/index.js:1220:12
❯ e2e/verify-page.spec.ts:4:6
|
|
e2e/pay-invoice.spec.ts:
e2e/pay-invoice.spec.ts#L4
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.
- You are calling test.describe() from an async test.describe() block. Only sync ones are supported.
❯ _TestTypeImpl._currentSuite node_modules/playwright/lib/common/index.js:2257:13
❯ _TestTypeImpl._describe node_modules/playwright/lib/common/index.js:2298:24
❯ Function.describe node_modules/playwright/lib/common/index.js:1220:12
❯ e2e/pay-invoice.spec.ts:4:6
|
|
e2e/landing.spec.ts:
e2e/landing.spec.ts#L4
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.
- You are calling test.describe() from an async test.describe() block. Only sync ones are supported.
❯ _TestTypeImpl._currentSuite node_modules/playwright/lib/common/index.js:2257:13
❯ _TestTypeImpl._describe node_modules/playwright/lib/common/index.js:2298:24
❯ Function.describe node_modules/playwright/lib/common/index.js:1220:12
❯ e2e/landing.spec.ts:4:6
|
|
e2e/dashboard.spec.ts:
e2e/dashboard.spec.ts#L4
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.
- You are calling test.describe() from an async test.describe() block. Only sync ones are supported.
❯ _TestTypeImpl._currentSuite node_modules/playwright/lib/common/index.js:2257:13
❯ _TestTypeImpl._describe node_modules/playwright/lib/common/index.js:2298:24
❯ Function.describe node_modules/playwright/lib/common/index.js:1220:12
❯ e2e/dashboard.spec.ts:4:6
|
|
e2e/create-invoice.spec.ts:
e2e/create-invoice.spec.ts#L4
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.
- You are calling test.describe() from an async test.describe() block. Only sync ones are supported.
❯ _TestTypeImpl._currentSuite node_modules/playwright/lib/common/index.js:2257:13
❯ _TestTypeImpl._describe node_modules/playwright/lib/common/index.js:2298:24
❯ Function.describe node_modules/playwright/lib/common/index.js:1220:12
❯ e2e/create-invoice.spec.ts:4:6
|
|
e2e/a11y.spec.ts:
e2e/a11y.spec.ts#L38
Error: Playwright Test did not expect test() to be called here.
Most common reasons include:
- You are calling test() in a configuration file.
- You are calling test() 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.
- You are calling test() from an async test.describe() block. Only sync ones are supported.
❯ _TestTypeImpl._currentSuite node_modules/playwright/lib/common/index.js:2257:13
❯ _TestTypeImpl._createTest node_modules/playwright/lib/common/index.js:2271:24
❯ node_modules/playwright/lib/common/index.js:1220:12
❯ e2e/a11y.spec.ts:38:3
|
|
deploy
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|