The tests/selenium/docs/Stack/webdriverio.js is not currently being trigged in CI. This was identified because after migrating everything but this file to ESM, the CI is not failing due to this file not being upgraded.
To quote Željko: Where this could cause trouble is migrations. For example, in T373125: Use ESM in core for selenium tests this file didn't change and the CI didn't fail. (CI should fail because the rest of the codebase is using ESM.)
The file is currently located in tests/selenium/docs/Stack/ instead of in tests/selenium/docs/Stack/spec, to make it explicit that it doesn't run in the CI.
An idea from @Peter is to add && node tests/selenium/docs/Stack/webdriverio.js to selenium-test.
AC
- First, tests/selenium/docs/Stack/webdriverio.js fails in CI meaning that it's running in CI: 1178510
- The issue is fixed by upgrading the file to ESM
- Make sure a browser and a driver is not downloaded every time
- Make sure selenium-daily is not broken
- update Selenium/Explanation/Stack#WebdriverIO
- webdriverio.js runs in ci