Skip to content

Commit bf0e613

Browse files
author
Oleksandr_Halichenko
committed
added virtual display
1 parent 4ffff0b commit bf0e613

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/pull-request.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,19 @@ jobs:
2121
- run: npm ci
2222
- run: npm run build
2323
- run: npm run test
24-
- run: npm run install:browsers
25-
- run: npm run test:e2e
26-
- name: junit report (web)
27-
uses: mikepenz/action-junit-report@v4
28-
if: always()
29-
with:
30-
report_paths: './test-e2e/report.xml'
31-
fail_on_failure: true
32-
- run: xvfb-run npm run test:e2e:electron
24+
# - run: npm run install:browsers
25+
# - run: npm run test:e2e
26+
# - name: junit report (web)
27+
# uses: mikepenz/action-junit-report@v4
28+
# if: always()
29+
# with:
30+
# report_paths: './test-e2e/report.xml'
31+
# fail_on_failure: true
32+
- name: setup virtual display
33+
run: |
34+
export DISPLAY=:99
35+
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
36+
- run: npm run test:e2e:electron
3337
- name: junit report (electron)
3438
uses: mikepenz/action-junit-report@v4
3539
if: always()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"build": "tsc",
88
"test": "vitest --coverage run",
9-
"install:browsers": "playwright install",
9+
"install:browsers": "playwright install chromium --with-deps",
1010
"test:e2e": "qavajs run --config test-e2e/webui.ts",
1111
"test:e2e:electron": "qavajs run --config test-e2e/webui.ts --profile electron",
1212
"debug:e2e:electron": "qavajs run --config test-e2e/webui.ts --profile debugElectron",

0 commit comments

Comments
 (0)