ci(config): fix sleep position
This commit is contained in:
parent
38a2840e15
commit
39d4bd48e8
|
@ -23,10 +23,11 @@ jobs:
|
||||||
- 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: export DISPLAY=:99
|
- run: export DISPLAY=:99
|
||||||
- run:
|
- run:
|
||||||
command: xvfb-run --listen-tcp --server-num=99 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1024x768x24" yarn e2e:run && sleep 40 && tmux send-keys -t E2ERecordSession1 q
|
command: xvfb-run --listen-tcp --server-num=99 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1024x768x24" yarn e2e:run && tmux send-keys -t E2ERecordSession1 q
|
||||||
background: true
|
background: true
|
||||||
- run: |
|
- run: |
|
||||||
tmux new-session -d -s E2ERecordSession1 'ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 /tmp/e2e-record.mp4'
|
tmux new-session -d -s E2ERecordSession1 'ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 /tmp/e2e-record.mp4'
|
||||||
|
sleep 40
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/e2e-record.mp4
|
path: /tmp/e2e-record.mp4
|
||||||
destination: e2e-record.mp4
|
destination: e2e-record.mp4
|
||||||
|
|
Loading…
Reference in New Issue