From 610c95e8197e70f07822b84b325e64a930f629f2 Mon Sep 17 00:00:00 2001 From: George J Padayatti Date: Thu, 11 Jan 2024 15:17:08 +0530 Subject: [PATCH] Fix: Delete previous allure results before running BDD test Signed-off-by: George J Padayatti --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a2e70aa..1a7a24e 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ build-test: ## Build behave image docker build --platform=linux/amd64 -t igrantio/bb-consent-test-runner:dev -f ./gherkin/Dockerfile ./gherkin run-test: ## Run BDD test - docker run --network=test_custom_network -v ./allure-results:/tests/allure-results:rw igrantio/bb-consent-test-runner:dev + sudo rm -rf allure-results && docker run --network=test_custom_network -v ./allure-results:/tests/allure-results:rw igrantio/bb-consent-test-runner:dev allure-generate: ## Generate Allure report allure generate --clean