From 38a2840e1557ef452e1d9c4ebd4209612791f328 Mon Sep 17 00:00:00 2001 From: George Lima Date: Fri, 25 Jan 2019 10:52:30 -0300 Subject: [PATCH] ci(config): add sleep cmd --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a0d3e2e..1964507 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: - run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232 - run: export DISPLAY=:99 - run: - 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 + 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 background: true - run: | tmux new-session -d -s E2ERecordSession1 'ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 /tmp/e2e-record.mp4'