Skip to content

Commit

Permalink
increasing timeouts because travis-ci might be very slow
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel.Rey committed Oct 24, 2016
1 parent 1ffecbe commit c729447
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ class AjaxSpec extends ScalaWebTestBaseSpec {
config.enableJavaScript(throwOnError = true)

"A simple webpage loading content with JS" should "be correctly interpreted by HtmlUnit" in {
eventually(timeout(1 second)) {
eventually(timeout(3 seconds)) {
container.text should include("Text loaded with JavaScript")
}
}
it should "work with CheckingGauge" in {
eventually(timeout(1 second)) {
eventually(timeout(3 seconds)) {
fits(<div id="container">Text loaded with JavaScript</div>)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class EnforceNavigateTo extends ScalaWebTestBaseSpec{
config.enforceNavigateTo()

"A simple webpage loading content with JS" should "be correctly interpreted by HtmlUnit" in {
eventually(timeout(1 second)) {
eventually(timeout(3 seconds)) {
container.text should include("Text loaded with JavaScript")
}
}
Expand Down

0 comments on commit c729447

Please sign in to comment.