TODO
🏠 452703: ffmpeg is needed for recording videos of Selenium tests
🏝 Test with instructions from Blog Post: Run Selenium tests using Quibble and Docker
🏠 Continuous integration/Docker#Publishing docker-pkg images
Done
⚰️ 451645: Install ffmpeg needed for recording videos of Selenium tests
Description
For T179188: Video recording for Selenium tests in Node.js I need ffmpeg to record videos of Selenium test runs.
Example for 422933 (from wmf-quibble-core-vendor-mysql-hhvm-docker/333):
12:57:44 ------------------------------------------------------------------ 12:57:44 [chrome #0-0] Session ID: 3c7838936bf567555eec4b13d8b1e3ec 12:57:44 [chrome #0-0] Spec: /workspace/src/tests/selenium/wdio-mediawiki/specs/BlankPage.js 12:57:44 [chrome #0-0] Running: chrome 12:57:44 [chrome #0-0] 12:57:44 [chrome #0-0] BlankPage 12:57:44 [chrome #0-0] 12:57:44 [chrome #0-0] BlankPage 12:57:44 [chrome #0-0] 1) "before each" hook 12:57:44 [chrome #0-0] 12:57:44 [chrome #0-0] 12:57:44 [chrome #0-0] 1 failing (3s) 12:57:44 [chrome #0-0] 12:57:44 [chrome #0-0] 1) BlankPage "before each" hook: 12:57:44 [chrome #0-0] spawn ffmpeg ENOENT 12:57:44 [chrome #0-0] Error: spawn ffmpeg ENOENT 12:57:44 [chrome #0-0] at exports._errnoException (util.js:1018:11) 12:57:44 [chrome #0-0] at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) 12:57:44 [chrome #0-0] at onErrorNT (internal/child_process.js:367:16) 12:57:44 [chrome #0-0] at _combinedTickCallback (internal/process/next_tick.js:80:11) 12:57:44 [chrome #0-0] at process._tickDomainCallback (internal/process/next_tick.js:128:9) 12:57:44 [chrome #0-0] 12:57:44 12:57:48 [12:57:48] Saved screenshot: ERROR_chrome_2018-08-08T12-57-47.906Z.png 12:57:48 Error: EACCES: permission denied, open '/logPage-should-be-creatable.png' 12:57:48 at Object.wait (/workspace/src/node_modules/fibers/future.js:449:15) 12:57:48 at Object.saveScreenshot (/workspace/src/node_modules/wdio-sync/build/index.js:283:31) 12:57:48 at Object.afterTest (/workspace/src/tests/selenium/wdio.conf.js:190:11) 12:57:48 at execHook (/workspace/src/node_modules/wdio-sync/build/index.js:162:35) 12:57:48 - - - - - 12:57:48 at url("http://127.0.0.1:9412//index.php?action=edit&title=BeforeEach-name-0.5561081455396708-I%C3%B1t%C3%ABrn%C3%A2ti%C3%B4n%C3%A0liz%C3%A6ti%C3%B8n") - index.js:312:3 12:57:50 ------------------------------------------------------------------