From c9cedc78b13a96e8ad38fa5ca4944aea78269ae9 Mon Sep 17 00:00:00 2001 From: Sander Date: Fri, 9 Jun 2023 01:23:59 +0200 Subject: [PATCH] chore(ct): inline reporter in ci (#23608) --- tests/components/ct-react-vite/playwright.config.ts | 2 +- tests/components/ct-react17/playwright.config.ts | 2 +- tests/components/ct-solid/playwright.config.ts | 2 +- tests/components/ct-svelte-vite/playwright.config.ts | 2 +- tests/components/ct-svelte/playwright.config.ts | 2 +- tests/components/ct-vue-cli/playwright.config.ts | 2 +- tests/components/ct-vue-vite/playwright.config.ts | 2 +- tests/components/ct-vue2-cli/playwright.config.ts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/components/ct-react-vite/playwright.config.ts b/tests/components/ct-react-vite/playwright.config.ts index adbf89ee70..bb45af7150 100644 --- a/tests/components/ct-react-vite/playwright.config.ts +++ b/tests/components/ct-react-vite/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ testDir: 'tests', forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - reporter: 'html', + reporter: process.env.CI ? 'html' : 'line', use: { trace: 'on-first-retry', ctViteConfig: { diff --git a/tests/components/ct-react17/playwright.config.ts b/tests/components/ct-react17/playwright.config.ts index de20317d32..b22ac8ceff 100644 --- a/tests/components/ct-react17/playwright.config.ts +++ b/tests/components/ct-react17/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ testDir: 'tests', forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - reporter: 'html', + reporter: process.env.CI ? 'html' : 'line', use: { trace: 'on-first-retry', ctViteConfig: { diff --git a/tests/components/ct-solid/playwright.config.ts b/tests/components/ct-solid/playwright.config.ts index dea12bd19e..5ae803d3f9 100644 --- a/tests/components/ct-solid/playwright.config.ts +++ b/tests/components/ct-solid/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ testDir: 'tests', forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - reporter: 'html', + reporter: process.env.CI ? 'html' : 'line', use: { trace: 'on-first-retry', ctViteConfig: { diff --git a/tests/components/ct-svelte-vite/playwright.config.ts b/tests/components/ct-svelte-vite/playwright.config.ts index b11ac44dd6..90b547e158 100644 --- a/tests/components/ct-svelte-vite/playwright.config.ts +++ b/tests/components/ct-svelte-vite/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ testDir: 'tests', forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - reporter: 'html', + reporter: process.env.CI ? 'html' : 'line', use: { trace: 'on-first-retry', ctViteConfig: { diff --git a/tests/components/ct-svelte/playwright.config.ts b/tests/components/ct-svelte/playwright.config.ts index 9f023fbeca..e26caad736 100644 --- a/tests/components/ct-svelte/playwright.config.ts +++ b/tests/components/ct-svelte/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ testDir: 'tests', forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - reporter: 'html', + reporter: process.env.CI ? 'html' : 'line', use: { trace: 'on-first-retry', ctViteConfig: { diff --git a/tests/components/ct-vue-cli/playwright.config.ts b/tests/components/ct-vue-cli/playwright.config.ts index ea3aa696aa..c95f2ff338 100644 --- a/tests/components/ct-vue-cli/playwright.config.ts +++ b/tests/components/ct-vue-cli/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ testDir: 'tests', forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - reporter: 'html', + reporter: process.env.CI ? 'html' : 'line', use: { trace: 'on-first-retry', ctViteConfig: { diff --git a/tests/components/ct-vue-vite/playwright.config.ts b/tests/components/ct-vue-vite/playwright.config.ts index ea3aa696aa..c95f2ff338 100644 --- a/tests/components/ct-vue-vite/playwright.config.ts +++ b/tests/components/ct-vue-vite/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ testDir: 'tests', forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - reporter: 'html', + reporter: process.env.CI ? 'html' : 'line', use: { trace: 'on-first-retry', ctViteConfig: { diff --git a/tests/components/ct-vue2-cli/playwright.config.ts b/tests/components/ct-vue2-cli/playwright.config.ts index 7d18da0143..307bc9726d 100644 --- a/tests/components/ct-vue2-cli/playwright.config.ts +++ b/tests/components/ct-vue2-cli/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ testDir: 'tests', forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - reporter: 'html', + reporter: process.env.CI ? 'html' : 'line', use: { trace: 'on-first-retry', ctViteConfig: {