-
Notifications
You must be signed in to change notification settings - Fork 973
Conversation
oh great! Electron has some tests btw you can get ideas from in coffeescript. I had an asana task to do tests this sprint but I haven't started on it yet, so I'll just assign it to you. |
Most of the tests I've found (in https://github.com/atom/electron/tree/master/spec), are just unit tests. This resource may be helpful: https://github.com/atom/electron/blob/master/docs/tutorial/using-selenium-and-webdriver.md |
@bbondy - I haven't had time to get this working yet, and won't finish this sprint so I've gone ahead and re-assigned the asana task to you. There's really not much to use as a reference here, so I'll just close this - but you can look at the libraries I was trying to pull in. Probably better to use the webdriverio library here: https://github.com/atom/electron/blob/master/docs/tutorial/using-selenium-and-webdriver.md |
No problem, thanks for the dump. |
WIP - not ready to merge. Just trying to get some pieces in place so we can start bringing the tests over. I haven't used selenium in a while, so it might take a bit for me to come up to speed on it.
The current problem I'm having is just getting to the right 'frame' so we can click on things and make assertions.
Also need to try to use webdriverio for the test syntax, and I think I'd like to use
await
instead of promises or chaining.