nathanboktae / mocha-casperjs

Write CasperJS tests using Mocha
MIT License
120 stars 30 forks source link

No example showing how to introduce delay #87

Closed brandonros closed 8 years ago

brandonros commented 8 years ago

I am not sure if this is a CasperJS related issue or not, but I am trying to test frontend code that displays a certain modal until all websockets are connected.

An example showing how to delay the tests would be dope.

brandonros commented 8 years ago

Updating PhantomJS to a non-prehistoric version solved my issue. casper.wait(), etc. work, for anybody else interested.