From 1dc225ed0f2e1f516aba37ddd2bf7d461ae87908 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 12 Apr 2024 20:02:18 +0800 Subject: [PATCH] fix: skip bridge tests in vue-i18n 1. They're for vue 2. 2. They include CDN urls, which might suffer from timeouts in CI. --- tests/vue-i18n.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/vue-i18n.ts b/tests/vue-i18n.ts index 25688fe..c3db0bf 100644 --- a/tests/vue-i18n.ts +++ b/tests/vue-i18n.ts @@ -11,6 +11,13 @@ export async function test(options: RunOptions) { args: ['--all', '-t'], }, beforeTest: 'pnpm playwright install chromium', - test: ['test:cover', 'test:type', 'test:e2e'], + test: [ + 'test:cover', + 'test:type', + { + script: 'test:e2e', + args: ['--exclude', 'e2e/bridge/**'], + }, + ], }) }