Skip to content

Commit 491cf79

Browse files
committed
Updated window integration test to reflect limited default screen size of 640x480 in XVFB action
1 parent cc201f8 commit 491cf79

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/snapshot.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ jobs:
2323
- name: Init e2e test subpackage
2424
run: npm --prefix e2e/tests ci
2525
- name: Clean coverage report
26-
uses: GabrielBB/xvfb-action@v1
27-
with:
28-
run: npm run coverage:clean
26+
run: npm run coverage:clean
2927
- name: Generate coverage report
3028
uses: GabrielBB/xvfb-action@v1
3129
with:

e2e/tests/packages/window-integration-tests/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const POS_X = 50;
22
const POS_Y = 100;
3-
const WIDTH = 800;
4-
const HEIGTH = 600;
3+
const WIDTH = 400;
4+
const HEIGTH = 300;
55
const TITLE = "libnut window test";
66

77
module.exports = {

0 commit comments

Comments
 (0)