From a90a201d53ef2d78f737df6a40e484a1f39ac9fb Mon Sep 17 00:00:00 2001 From: Carine Dengler Date: Thu, 30 Nov 2023 10:42:35 +0100 Subject: [PATCH] refactor: move Playwright test files --- web/frontend/playwright.config.ts | 2 +- web/frontend/tests/{integration => }/footer.spec.ts | 0 web/frontend/tests/{integration => }/homepage.spec.ts | 0 web/frontend/tests/{integration => }/navbar.spec.ts | 0 web/frontend/tests/{integration => }/utils.ts | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename web/frontend/tests/{integration => }/footer.spec.ts (100%) rename web/frontend/tests/{integration => }/homepage.spec.ts (100%) rename web/frontend/tests/{integration => }/navbar.spec.ts (100%) rename web/frontend/tests/{integration => }/utils.ts (100%) diff --git a/web/frontend/playwright.config.ts b/web/frontend/playwright.config.ts index 378d161fc..400ba73b6 100644 --- a/web/frontend/playwright.config.ts +++ b/web/frontend/playwright.config.ts @@ -10,7 +10,7 @@ import { defineConfig, devices } from '@playwright/test'; * See https://playwright.dev/docs/test-configuration. */ export default defineConfig({ - testDir: './tests/integration', + testDir: './tests/', /* Run tests in files in parallel */ fullyParallel: true, /* Fail the build on CI if you accidentally left test.only in the source code. */ diff --git a/web/frontend/tests/integration/footer.spec.ts b/web/frontend/tests/footer.spec.ts similarity index 100% rename from web/frontend/tests/integration/footer.spec.ts rename to web/frontend/tests/footer.spec.ts diff --git a/web/frontend/tests/integration/homepage.spec.ts b/web/frontend/tests/homepage.spec.ts similarity index 100% rename from web/frontend/tests/integration/homepage.spec.ts rename to web/frontend/tests/homepage.spec.ts diff --git a/web/frontend/tests/integration/navbar.spec.ts b/web/frontend/tests/navbar.spec.ts similarity index 100% rename from web/frontend/tests/integration/navbar.spec.ts rename to web/frontend/tests/navbar.spec.ts diff --git a/web/frontend/tests/integration/utils.ts b/web/frontend/tests/utils.ts similarity index 100% rename from web/frontend/tests/integration/utils.ts rename to web/frontend/tests/utils.ts