-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated UI Testing #349
Comments
From initial investigation I'm pretty torn between Casper and Selenium. Selenium has a slight edge due to its long history and use of the WebDriver spec so I'm going to try writing a simple test using it. Nightmare
Phantom
Slimer
Casper
Puppeteer
Selenium/WebDriverJS
Marionette
Mochitest
Firefox Puppeteer
|
@hobinjk Testing with jsdom is faster than browser, but we should write polyfills and can not view screen. Testing with brower is slower, but we can take screen and test end to end. I think testing on browser is better and can rewrite, because |
@sogaani I think for the thing-view it makes more sense to use the browser since it's less tightly coupled with the implementation. There are plans for us to refactor the thing views based on a capabilities model (as opposed to the current type-based model) which would significantly change the class structure but ideally not change the displayed UI. The jsdom tests are very cool though and definitely something I like for testing components that are less likely to change dramatically. |
@hobinjk I heard good things. I was wondering which way to implement, but if there is a major change in the structure I will test using browser. |
While we don't have 100% coverage of the UI the initial implementation is very much done. |
The UI is currently untested. Approaches this could take include the following:
The text was updated successfully, but these errors were encountered: