nathanboktae / mocha-casperjs

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

command line options for retryTimeout, waitTimeout, stepTimeout #24

Closed igor10k closed 10 years ago

igor10k commented 10 years ago

Why? It's a 1 minute fix and I'm pretty sure there are pages where waitTimeout of 5 seconds may not be enough.

nathanboktae commented 10 years ago

What? Yes the can be overridden. I do it all the time in tests I write. What's your basis for this claim? That I don't expose it as a command line option?

igor10k commented 10 years ago

Yeah, I meant command line options. Though I agree that using casper.option within tests seems enough. Didn't think of it at first.

nathanboktae commented 10 years ago

Yes, though now that you mention it, exposing these as command line options is good.