diff --git a/playwright.config.js b/playwright-local/playwright-local.config.js similarity index 98% rename from playwright.config.js rename to playwright-local/playwright-local.config.js index 40c59043..3900fbf0 100644 --- a/playwright.config.js +++ b/playwright-local/playwright-local.config.js @@ -11,7 +11,7 @@ require('dotenv').config(); * @see https://playwright.dev/docs/test-configuration */ module.exports = defineConfig({ - testDir: './e2e', + testDir: '.', /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, retries: 1, diff --git a/e2e/submit/addressValidation.spec.js b/playwright-local/tests/submit/addressValidation.spec.js similarity index 100% rename from e2e/submit/addressValidation.spec.js rename to playwright-local/tests/submit/addressValidation.spec.js diff --git a/e2e/submit/formValidation.spec.js b/playwright-local/tests/submit/formValidation.spec.js similarity index 100% rename from e2e/submit/formValidation.spec.js rename to playwright-local/tests/submit/formValidation.spec.js diff --git a/e2e/submit/internationalAddressesValidation.spec.js b/playwright-local/tests/submit/internationalAddressesValidation.spec.js similarity index 100% rename from e2e/submit/internationalAddressesValidation.spec.js rename to playwright-local/tests/submit/internationalAddressesValidation.spec.js diff --git a/e2e/submit/marketingPreferencesValidation.spec.js b/playwright-local/tests/submit/marketingPreferencesValidation.spec.js similarity index 100% rename from e2e/submit/marketingPreferencesValidation.spec.js rename to playwright-local/tests/submit/marketingPreferencesValidation.spec.js diff --git a/e2e/submit/postcodeLookup.spec.js b/playwright-local/tests/submit/postcodeLookup.spec.js similarity index 100% rename from e2e/submit/postcodeLookup.spec.js rename to playwright-local/tests/submit/postcodeLookup.spec.js diff --git a/e2e/submit/validFormSubmission.spec.js b/playwright-local/tests/submit/validFormSubmission.spec.js similarity index 100% rename from e2e/submit/validFormSubmission.spec.js rename to playwright-local/tests/submit/validFormSubmission.spec.js diff --git a/e2e/update/formValidation.spec.js b/playwright-local/tests/update/formValidation.spec.js similarity index 100% rename from e2e/update/formValidation.spec.js rename to playwright-local/tests/update/formValidation.spec.js diff --git a/e2e/update/internationalAddressesValidation.spec.js b/playwright-local/tests/update/internationalAddressesValidation.spec.js similarity index 100% rename from e2e/update/internationalAddressesValidation.spec.js rename to playwright-local/tests/update/internationalAddressesValidation.spec.js diff --git a/e2e/update/validFormSubmission.spec.js b/playwright-local/tests/update/validFormSubmission.spec.js similarity index 100% rename from e2e/update/validFormSubmission.spec.js rename to playwright-local/tests/update/validFormSubmission.spec.js diff --git a/e2e/utils/commands.js b/playwright-local/tests/utils/commands.js similarity index 100% rename from e2e/utils/commands.js rename to playwright-local/tests/utils/commands.js