Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(ct): inline reporter in ci (#23608)

Sanderc9cedc78b13a
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: {