BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
bb50917a
Commit
bb50917a
authored
Aug 11, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying to prevent travis broken builds by increase capybara timout for cucumber
parent
44f79b2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
env.rb
features/support/env.rb
+8
-0
No files found.
features/support/env.rb
View file @
bb50917a
...
...
@@ -65,3 +65,11 @@ end
# See https://github.com/cucumber/cucumber-rails/blob/master/features/choose_javascript_database_strategy.feature
Cucumber
::
Rails
::
Database
.
javascript_strategy
=
:truncation
# We need this to fix the random timeout error that we were seeing in CI.
Capybara
.
register_driver
:selenium_with_long_timeout
do
|
app
|
client
=
Selenium
::
WebDriver
::
Remote
::
Http
::
Default
.
new
client
.
timeout
=
120
Capybara
::
Selenium
::
Driver
.
new
(
app
,
:browser
=>
:firefox
,
:http_client
=>
client
)
end
Capybara
.
javascript_driver
=
:selenium_with_long_timeout
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment