Skip to content

Commit e4b8763

Browse files
Relax capybara timeout
Since assets are now precompiled on first access, the first test might actually timeout. Let's make sure that doesn't happen.
1 parent f17035c commit e4b8763

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • decidim-dev/lib/decidim/dev/test/rspec_support

decidim-dev/lib/decidim/dev/test/rspec_support/capybara.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def switch_to_default_host
3131
)
3232
],
3333
js_errors: true,
34-
url_whitelist: ["http://*.lvh.me", "localhost", "127.0.0.1"]
34+
url_whitelist: ["http://*.lvh.me", "localhost", "127.0.0.1"],
35+
timeout: 1.minute
3536
}
3637

3738
Capybara.register_driver :poltergeist do |app|

0 commit comments

Comments
 (0)