From 42b7505114f5c77077ef4e6c4f7287050ff0ea5b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 16 Nov 2022 09:19:12 +0100 Subject: [PATCH] Bug 32224: Add cypress to yarn commands Either I am missing something obvious, or we need to add cypress to the scripts of package.json With /kohadevbox/node_modules only (ie. without $SYNC_REPO/node_modules), I cannot run yarn run cypress run `cypress run` is working with an adjusted PATH (see https://gitlab.com/koha-community/koha-testing-docker/-/issues/313#note_1173792905) but I think both should work. Signed-off-by: Tomas Cohen Arazi --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d7c12095615..3896df37cfc 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,8 @@ "build_js": "webpack --mode production", "watch_js": "webpack --mode development --watch", "css": "gulp css", - "watch": "gulp watch" + "watch": "gulp watch", + "cypress": "cypress" }, "repository": { "type": "git", -- 2.34.1