From 50368c5dd808c01f1cf006905236a033d6ee308e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 17 Nov 2025 19:17:03 +0100 Subject: [PATCH] WIP --- .github/workflows/test-integration.yml | 7 ++++++- frontend/playwright.config.js | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index d6b000b4c1..bcc8440f6f 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -49,4 +49,9 @@ jobs: yarn run playwright install chromium --with-deps yarn run test:e2e -x --workers=4 --reporter=line - + - name: Upload test result + working-directory: ./frontend + uses: actions/upload-artifact@v4 + with: + name: test-results + path: ./test-results/ diff --git a/frontend/playwright.config.js b/frontend/playwright.config.js index c7ca58b07c..bf324fb785 100644 --- a/frontend/playwright.config.js +++ b/frontend/playwright.config.js @@ -11,6 +11,7 @@ import { defineConfig, devices } from "@playwright/test"; */ export default defineConfig({ testDir: "./playwright", + outputDir: './test-results', /* Run tests in files in parallel */ fullyParallel: true, /* Fail the build on CI if you accidentally left test.only in the source code. */ @@ -48,7 +49,10 @@ export default defineConfig({ name: "default", use: { ...devices["Desktop Chrome"] }, testDir: "./playwright/ui/specs", - + use: { + video: 'retain-on-failure', + trace: 'on' + } }, { name: "ds",