From 025e6a5e4b6b28000eb510a90e09436f27d9f2a4 Mon Sep 17 00:00:00 2001 From: Adam De Fouw Date: Wed, 4 Mar 2026 16:11:46 -0600 Subject: [PATCH] Adjustment to support automated testing of EMs If we want to support EMs, we want to support loading of step definitions that are defined for an EM --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index efb39877..9c1034ce 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,10 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "cypress-cucumber-preprocessor": { - "step_definitions": "cypress/support/step_definitions/" + "stepDefinitions": [ + "cypress/support/step_definitions/*", + "../redcap_source/modules/**/automated-tests/step_definitions/*.js" + ] }, "repository": { "type": "git",