ci(config): decrease screen size
This commit is contained in:
parent
cabb2b9c94
commit
6a7e471210
|
@ -21,7 +21,8 @@ jobs:
|
||||||
command: yarn e2e:serve
|
command: yarn e2e:serve
|
||||||
background: true
|
background: true
|
||||||
- run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232
|
- run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232
|
||||||
- run: xvfb-run --listen-tcp --server-num 44 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1920x1080x24" yarn e2e:run & export DISPLAY=:44 && ffmpeg -f x11grab -video_size 1920x1080 -i :44 -codec:v libx264 -r 12 e2e-record.mp4
|
- run: export DISPLAY=:99
|
||||||
|
- run: xvfb-run --listen-tcp --server-num=99 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1024x768x24" yarn e2e:run & ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 video.mp4
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ./e2e-record.mp4
|
path: ./e2e-record.mp4
|
||||||
destination: e2e-record.mp4
|
destination: e2e-record.mp4
|
||||||
|
|
Loading…
Reference in New Issue