From 86ea059de613ca3505175a276f44316a45f99be8 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 25 Apr 2023 16:42:59 +0100 Subject: [PATCH] Make cypress happy about spec files all containing tests (#10709) --- cypress.config.ts | 2 +- .../e2e/toasts/{analytics-toast.ts => analytics-toast.spec.ts} | 0 .../{user-onboarding-new.ts => user-onboarding-new.spec.ts} | 0 .../{user-onboarding-old.ts => user-onboarding-old.spec.ts} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename cypress/e2e/toasts/{analytics-toast.ts => analytics-toast.spec.ts} (100%) rename cypress/e2e/user-onboarding/{user-onboarding-new.ts => user-onboarding-new.spec.ts} (100%) rename cypress/e2e/user-onboarding/{user-onboarding-old.ts => user-onboarding-old.spec.ts} (100%) diff --git a/cypress.config.ts b/cypress.config.ts index f9bc521bdd..b57fe7f6c4 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -27,7 +27,7 @@ export default defineConfig({ return require("./cypress/plugins/index.ts").default(on, config); }, baseUrl: "http://localhost:8080", - specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}", + specPattern: "cypress/e2e/**/*.spec.{js,jsx,ts,tsx}", }, env: { // Docker tag to use for `ghcr.io/matrix-org/sliding-sync` image. diff --git a/cypress/e2e/toasts/analytics-toast.ts b/cypress/e2e/toasts/analytics-toast.spec.ts similarity index 100% rename from cypress/e2e/toasts/analytics-toast.ts rename to cypress/e2e/toasts/analytics-toast.spec.ts diff --git a/cypress/e2e/user-onboarding/user-onboarding-new.ts b/cypress/e2e/user-onboarding/user-onboarding-new.spec.ts similarity index 100% rename from cypress/e2e/user-onboarding/user-onboarding-new.ts rename to cypress/e2e/user-onboarding/user-onboarding-new.spec.ts diff --git a/cypress/e2e/user-onboarding/user-onboarding-old.ts b/cypress/e2e/user-onboarding/user-onboarding-old.spec.ts similarity index 100% rename from cypress/e2e/user-onboarding/user-onboarding-old.ts rename to cypress/e2e/user-onboarding/user-onboarding-old.spec.ts