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
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
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
visit
namespace_project_build_path
(
project
.
namespace
,
project
,
build
)
end
it
'loads build trace'
do
expect
(
page
).
to
have_content
'BUILD TRACE'
context
'when build has an initial trace'
do
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
...
...
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