xodio / xod

XOD IDE
https://xod.io
GNU Affero General Public License v3.0
895 stars 119 forks source link

Replace Spectron with Puppeteer #957

Open nkrkv opened 6 years ago

nkrkv commented 6 years ago

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

evgenykochetkov commented 6 years ago

Move universal func-test’s from xod-client-electron to xod-client. Rewrite them with Puppeteer.

This part is done in #1015