diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 65bd258a..2087cbf2 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -55,6 +55,7 @@ jobs: - nuxt # - nx # disabled temporarily - previewjs + - playwright-ct - quasar - qwik - rakkas diff --git a/tests/playwright-ct.ts b/tests/playwright-ct.ts new file mode 100644 index 00000000..68e08253 --- /dev/null +++ b/tests/playwright-ct.ts @@ -0,0 +1,20 @@ +import { runInRepo } from '../utils.ts' +import type { RunOptions } from '../types.d.ts' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'microsoft/playwright', + overrides: { + '@vitejs/plugin-react': true, + '@vitejs/plugin-vue': true, + '@vitejs/plugin-vue2': true, + svelte: 'latest', + '@sveltejs/vite-plugin-svelte': true, + '@sveltejs/vite-plugin-svelte-inspector': true, + }, + build: 'build', + beforeTest: 'npx playwright install --with-deps', + test: ['ct'], + }) +}