-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
5
-
Iteration Q, Iteration Reno, Iteration Seoul, Iteration Tokyo
-
Not Needed
We did an investigation and confirmed that playwright will allow our e2e tests to run on windows again. Spectron is also going to stop working in newer versions of electron and be discontinued soon. Playwright is where the momentum is and, while this is admittedly subjective, is much nicer to code against anyway.
UNFORTUNATELY even though the initial investigation ran fine on Windows, we couldn't get compass running with playwright on windows (not locally and not on evergreen but bizarrely it didn't have the same problem on github actions) and after a week of trying to debug it gave up. Spectron is built on webdriverio, so it was relatively straightforward to port over to webdriverio. Now that spectron is officially deprecated webdriverio is listed as one of the official options anyway: https://www.electronjs.org/docs/latest/tutorial/automated-testing#with-webdriverio
- is related to
-
COMPASS-5159 Fix Windows Electron Spectron fs failure
- Closed
-
COMPASS-5314 Will Playwright allow us to run E2E tests on Windows?
- Closed
- related to
-
COMPASS-5121 Add E2E tests for the rest of the smoke tests
- Closed
-
COMPASS-5248 Move the current E2E test package to typescript and align it to the rest of Compass conventions
- Closed