From 4da06ce800c72c564322722d999948c150e5299d Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 11 Jul 2023 20:16:34 +0200 Subject: [PATCH] update cypress cucumber preprosessor config in package.json --- package.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b4e0ee7de..900c132cd 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,19 @@ "url": "https://github.com/Ocelot-Social-Community/Ocelot-Social.git" }, "cypress-cucumber-preprocessor": { - "nonGlobalStepDefinitions": true + "stepDefinitions": "cypress/support/step_definitions/*.ts", + "json": { + "enabled": true, + "output": "cypress/reports/json_logs/cucumber_log.json", + "formatter": "cucumber-json-formatter" + }, + "messages": { + "enabled": true, + "output": "cypress/reports/json_logs/messages.ndjson" + }, + "html": { + "enabled": false + } }, "scripts": { "db:seed": "cd backend && yarn run db:seed",