These are chat archives for arenanet/api-cdi

7th
Jul 2017
David Reeß
@queicherius
Jul 07 2017 19:34
Does anyone have a (js) library for feature testing in browsers? Aka $('a:contains("Login")').click(); expect($('#login-form')).to.contain('Credentials required')? Preferably with a headless browser. Tried selenium / nightwatchjs and it was absolutely horrible experience. Bonus points for an extension like https://ghostinspector.com/ that spits out code instead of being locked into a SaaS
Eearslya Sleiarion
@Eearslya
Jul 07 2017 19:44
PhantomJS can be used as a headless browser, but it itself is not a testing library..It does show a few libraries its compatible with here: http://phantomjs.org/headless-testing.html
I use PhantomJS with Capybara for my rails app
David Reeß
@queicherius
Jul 07 2017 20:36
Thanks for the pointer, I tried phantomjs, nightmare, zombie and casper quickly and for some reason they all were even slower. Oh well, time to bite into the sour apple.
windwarrior
@windwarrior
Jul 07 2017 21:38
I have seen something alike before
But I can't remember how it is called
windwarrior
@windwarrior
Jul 07 2017 23:15
@queicherius maybe [nightowl](
That went so great on mobile
Oh nvm you tried