electron-userland / spectron

DEPRECATED: 🔎 Test Electron apps using ChromeDriver
http://electronjs.org/spectron
MIT License
1.68k stars 229 forks source link

UI test:logout my electron app,app launch login page and app cannot quit #238

Open liyulai2017 opened 6 years ago

liyulai2017 commented 6 years ago

UI test: 1.logout my electron app,app launch to login page and app out of control

this code does not work: if(this.app && this.app.isRunning()) {return this.app.stop();}

santisantosh commented 6 years ago

Have you tried putting code inside 'aftereach' ?

liyulai2017 commented 6 years ago

My problem has been solved. thank you !