xod icon indicating copy to clipboard operation
xod copied to clipboard

Replace Spectron with Puppeteer

Open nkrkv opened this issue 7 years ago • 1 comments

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

nkrkv avatar Dec 14 '17 13:12 nkrkv

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

This part is done in #1015

evgenykochetkov avatar Jan 12 '18 15:01 evgenykochetkov