Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
46906ac3
Commit
46906ac3
authored
May 07, 2017
by
Oswaldo Ferreira
Committed by
Fatih Acet
May 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing: Commenting after hook for waiting complete request
parent
e840f900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
features/support/env.rb
features/support/env.rb
+6
-6
No files found.
features/support/env.rb
View file @
46906ac3
...
@@ -38,12 +38,12 @@ Spinach.hooks.before_run do
...
@@ -38,12 +38,12 @@ Spinach.hooks.before_run do
include
FactoryGirl
::
Syntax
::
Methods
include
FactoryGirl
::
Syntax
::
Methods
end
end
Spinach
.
hooks
.
after_feature
do
|
feature_data
|
#
Spinach.hooks.after_feature do |feature_data|
if
feature_data
.
scenarios
.
flat_map
(
&
:tags
).
include?
(
'javascript'
)
#
if feature_data.scenarios.flat_map(&:tags).include?('javascript')
include
WaitForRequests
#
include WaitForRequests
wait_for_requests_complete
#
wait_for_requests_complete
end
#
end
end
#
end
module
StdoutReporterWithScenarioLocation
module
StdoutReporterWithScenarioLocation
# Override the standard reporter to show filename and line number next to each
# Override the standard reporter to show filename and line number next to each
...
...
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