This commit is contained in:
Andrey Antukh 2025-11-17 19:17:03 +01:00
parent 2bbc746919
commit 50368c5dd8
2 changed files with 11 additions and 2 deletions

View File

@ -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/

View File

@ -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",