fix: exclude @cloud tests from regular playwright runs, add playwright.config.ts to tsconfig

This commit is contained in:
bymyself
2025-11-13 14:51:42 -08:00
parent 730d8c2292
commit 14ab045a05
2 changed files with 2 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ export default defineConfig({
name: 'chromium', name: 'chromium',
use: { ...devices['Desktop Chrome'] }, use: { ...devices['Desktop Chrome'] },
timeout: 15000, timeout: 15000,
grepInvert: /@mobile/ // Run all tests except those tagged with @mobile grepInvert: /@mobile|@cloud/ // Run all tests except those tagged with @mobile or @cloud
}, },
{ {

View File

@@ -55,6 +55,7 @@
"eslint.config.ts", "eslint.config.ts",
"global.d.ts", "global.d.ts",
"knip.config.ts", "knip.config.ts",
"playwright.config.ts",
"playwright.cloud.config.ts", "playwright.cloud.config.ts",
"src/**/*.vue", "src/**/*.vue",
"src/**/*", "src/**/*",