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 from xod-client-electron to xod-client. Rewrite them with Puppeteer.
Move FS-related func-test’s in xod-client-electron to test. Rewrite them to mocha-electron
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
func-test
’s fromxod-client-electron
toxod-client
. Rewrite them with Puppeteer.func-test
’s inxod-client-electron
totest
. Rewrite them tomocha-electron