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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
89e367f2
Commit
89e367f2
authored
Nov 22, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing feature tests for loading build trace
See #24638
parent
e249a351
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
spec/features/projects/builds_spec.rb
spec/features/projects/builds_spec.rb
+16
-4
No files found.
spec/features/projects/builds_spec.rb
View file @
89e367f2
...
@@ -181,12 +181,24 @@ feature 'Builds', :feature do
...
@@ -181,12 +181,24 @@ feature 'Builds', :feature do
visit
namespace_project_build_path
(
project
.
namespace
,
project
,
build
)
visit
namespace_project_build_path
(
project
.
namespace
,
project
,
build
)
end
end
it
'loads build trace'
do
context
'when build has an initial trace'
do
expect
(
page
).
to
have_content
'BUILD TRACE'
it
'loads build trace'
do
expect
(
page
).
to
have_content
'BUILD TRACE'
build
.
append_trace
(
' and more trace'
,
11
)
build
.
append_trace
(
' and more trace'
,
11
)
expect
(
page
).
to
have_content
'BUILD TRACE and more trace'
expect
(
page
).
to
have_content
'BUILD TRACE and more trace'
end
end
context
'when build does not have an initial trace'
do
let
(
:build
)
{
create
(
:ci_build
,
pipeline:
pipeline
)
}
it
'loads new trace'
do
build
.
append_trace
(
'build trace'
,
0
)
expect
(
page
).
to
have_content
'build trace'
end
end
end
end
end
...
...
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