From 3c68d01029dc9a3cb8083d845511331a2cf0a800 Mon Sep 17 00:00:00 2001 From: Alex Tkachev Date: Tue, 17 Dec 2024 14:36:46 +0400 Subject: [PATCH] fix: preserve test results which needs to be uploaded to chromatic --- tests/e2e/turbo.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/e2e/turbo.json b/tests/e2e/turbo.json index 3850b2aa..fd40ad60 100644 --- a/tests/e2e/turbo.json +++ b/tests/e2e/turbo.json @@ -4,7 +4,11 @@ "test:integration": { "dependsOn": ["@custom/website#build"], "env": ["PLAYWRIGHT_WEBSITE_URL", "PLAYWRIGHT_CMS_URL"], - "inputs": ["helpers/**", "specs/**", "playwright.config.ts"] + "inputs": ["helpers/**", "specs/**", "playwright.config.ts"], + "outputs": [ + // Store test results for Chromatic. + "test-results/**" + ] } } }