We setup xvfb screen size in the start script of the container in CI. And then we set the recording video size in wdio.conf.json.
However this is "desktop" size, we should make it possible to run tests with mobile size viewport (for example for Minerva). Smaller screen size will make overhead smaller + we will run the test as our users will see Mediawiki.
Acceptance criteria:
- Make it possible to override the XVFB screen size and the video recording size.
- Also checkout T408327 and this change so they comply