From c6bb1d0222b8c79161e8a3090f655a5c150c6a4e Mon Sep 17 00:00:00 2001 From: webrooster Date: Mon, 19 Jun 2023 15:45:57 +0200 Subject: [PATCH] fix(Smoke/Health): add folder, exclude tests --- __e2e__/{ => checks}/HealthCheck.test.tsx | 0 playwright.checks.config.ts | 2 +- playwright.config.ts | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename __e2e__/{ => checks}/HealthCheck.test.tsx (100%) diff --git a/__e2e__/HealthCheck.test.tsx b/__e2e__/checks/HealthCheck.test.tsx similarity index 100% rename from __e2e__/HealthCheck.test.tsx rename to __e2e__/checks/HealthCheck.test.tsx diff --git a/playwright.checks.config.ts b/playwright.checks.config.ts index fed8281..92d8bcf 100644 --- a/playwright.checks.config.ts +++ b/playwright.checks.config.ts @@ -1,7 +1,7 @@ import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ - testDir: './__e2e__', + testDir: './__e2e__/checks', fullyParallel: false, timeout: 30000, forbidOnly: !!process.env.CI, diff --git a/playwright.config.ts b/playwright.config.ts index ba03a40..4022966 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -13,6 +13,7 @@ export default defineConfig({ retries: process.env.CI ? 2 : 0, workers: process.env.CI ? 1 : undefined, reporter: process.env.CI ? './__e2e__/utils/testReporter.ts' : [['list', { printSteps: true }]], + testIgnore: '**/checks/**', expect: { timeout: 0, },