From da0e684f4d535a404656564b3e96c38ae7029362 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 27 Feb 2024 09:14:00 +0100 Subject: [PATCH] rename step definition directory --- cypress/e2e/features/Login.feature | 1 - cypress/e2e/{step_definitions => steps}/login.ts | 0 package.json | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) rename cypress/e2e/{step_definitions => steps}/login.ts (100%) diff --git a/cypress/e2e/features/Login.feature b/cypress/e2e/features/Login.feature index a991174..baafca7 100644 --- a/cypress/e2e/features/Login.feature +++ b/cypress/e2e/features/Login.feature @@ -1,7 +1,6 @@ Feature: Login As a user I want to sign in - I want to benoticed when sign in fails Background: Given The web browser is at the login page diff --git a/cypress/e2e/step_definitions/login.ts b/cypress/e2e/steps/login.ts similarity index 100% rename from cypress/e2e/step_definitions/login.ts rename to cypress/e2e/steps/login.ts diff --git a/package.json b/package.json index 5b7626a..153f0f4 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ }, "cypress-cucumber-preprocessor": { "nonGlobalStepDefinitions": true, - "stepDefinitions": "cypress/e2e/step_definitions/**/*.{js,ts}", + "stepDefinitions": "cypress/e2e/steps/**/*.{js,ts}", "json": { "enabled": true, "output": "cypress/reports/json/cucumber-report.json"