xod
xod copied to clipboard
Replace Spectron with Puppeteer
Spectron (WebdriverIO) fails often while CI with no obvious reason. Also, it can’t simulate hotkeys. Let’s move our functional tests to Puppeteer.
We can’t test desktop IDE features with Puppeteer. But among them, we only test FS interaction. Let’s preserve these tests but move them from functional to integrational category and simply use mocha-electron for them without simulating full IDE launch.
How to implement
- Move universal
func-test’s fromxod-client-electrontoxod-client. Rewrite them with Puppeteer. - Move FS-related
func-test’s inxod-client-electrontotest. Rewrite them tomocha-electron
Move universal func-test’s from xod-client-electron to xod-client. Rewrite them with Puppeteer.
This part is done in #1015