From ffaa2c02a89ee51b51df5d7205947b326e05c285 Mon Sep 17 00:00:00 2001 From: Sally Young Date: Wed, 28 Aug 2024 14:11:08 +0100 Subject: [PATCH] Tidy up nightwatch reports before running --- tasks/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/test.yml b/tasks/test.yml index a3f17dac..5ffb691c 100644 --- a/tasks/test.yml +++ b/tasks/test.yml @@ -335,6 +335,7 @@ tasks: NIGHTWATCH_ENV: 'firefox,chrome' cmds: - defer: { task: _nightwatch:vrt-report } + - rm -rf test_result/nightwatch* - | if [ -f "package-lock.json" ]; then npx nightwatch --env $NIGHTWATCH_ENV {{.CLI_ARGS}}