test: add Playwright e2e suite + CI workflow #10
ci.yml
on: push
typecheck · lint · test · build
24s
Annotations
5 errors
|
typecheck · lint · test · build
Process completed with exit code 1.
|
|
tests/e2e/theme.spec.ts:
tests/e2e/theme.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/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/testType.js:75:13
❯ TestTypeImpl._describe node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/testType.js:115:24
❯ Function.describe node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/transform/transform.js:275:12
❯ tests/e2e/theme.spec.ts:3:6
|
|
tests/e2e/smoke.spec.ts:
tests/e2e/smoke.spec.ts#L25
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/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/testType.js:75:13
❯ TestTypeImpl._describe node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/testType.js:115:24
❯ Function.describe node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/transform/transform.js:275:12
❯ tests/e2e/smoke.spec.ts:25:6
|
|
tests/e2e/mobile.spec.ts:
tests/e2e/mobile.spec.ts#L6
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/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/testType.js:75:13
❯ TestTypeImpl._describe node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/testType.js:115:24
❯ Function.describe node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/transform/transform.js:275:12
❯ tests/e2e/mobile.spec.ts:6:6
|
|
typecheck · lint · test · build
Process completed with exit code 2.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
dist-a36d0240cf9485a69ea6e7200ba4a69a08e54fb4
Expired
|
69.7 KB |
sha256:27d0d5c0abd13c76f8eeb9cbbaa7e200b752cd25f13c2994e93661a185ebd268
|
|