Skip to content

Commit 3bac922

Browse files
update 6
1 parent 60eddb6 commit 3bac922

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.github/workflows/quality.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- 8765:8765
2222
options: --hostname localhost -e YDB_ALLOW_ORIGIN="http://localhost:3000"
2323

24-
container:
25-
image: mcr.microsoft.com/playwright:v1.49.1-noble
26-
options: --user 1001
24+
# container:
25+
# image: mcr.microsoft.com/playwright:v1.49.1-noble
26+
# options: --user 1001
2727

2828
steps:
2929
- uses: actions/checkout@v4
@@ -39,17 +39,20 @@ jobs:
3939
- name: Install dependencies
4040
run: npm ci
4141

42+
- name: Install Playwright deps
43+
run: npm run test:e2e:install
44+
4245
- name: Run Playwright tests
4346
id: run_tests
4447
run: npm run test:e2e
4548
env:
4649
CI: true
4750
PLAYWRIGHT_VIDEO: 'on'
48-
PLAYWRIGHT_APP_BACKEND: backend:8765
49-
REACT_APP_BACKEND: backend:8765
50-
REACT_APP_META_BACKEND: undefined
51-
DISABLE_ESLINT_PLUGIN: true
52-
TSC_COMPILE_ON_ERROR: true
51+
# PLAYWRIGHT_APP_BACKEND: backend:8765
52+
# REACT_APP_BACKEND: backend:8765
53+
# REACT_APP_META_BACKEND: undefined
54+
# DISABLE_ESLINT_PLUGIN: true
55+
# TSC_COMPILE_ON_ERROR: true
5356

5457
- name: Upload Playwright artifacts
5558
if: always()

playwright.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import {devices} from '@playwright/test';
33

44
const baseUrl = process.env.PLAYWRIGHT_BASE_URL;
55
// In CI all env vars defined in workflow yml
6-
const runAppCommand = process.env.CI ? 'npm run start' : 'npm run dev';
6+
// const runAppCommand = process.env.CI ? 'npm run start' : 'npm run dev';
7+
const runAppCommand = 'npm run dev';
78

89
const config: PlaywrightTestConfig = {
910
globalSetup: './tests/playwrightSetup.ts',

0 commit comments

Comments
 (0)