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
ede451c8
Commit
ede451c8
authored
Feb 02, 2016
by
Grzegorz Bizon
Committed by
Grzegorz Bizon
Feb 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show information indicating that build has been erased
parent
2c7f36f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
show.html.haml
app/views/projects/builds/show.html.haml
+9
-4
summary.feature
features/project/builds/summary.feature
+1
-0
summary.rb
features/steps/project/builds/summary.rb
+4
-0
No files found.
app/views/projects/builds/show.html.haml
View file @
ede451c8
...
...
@@ -76,10 +76,15 @@
=
link_to
'#down-build-trace'
,
class:
'btn'
do
%i
.fa.fa-angle-down
%pre
.trace
#build-trace
%code
.bash
=
preserve
do
=
raw
@build
.
trace_html
-
unless
@build
.
erased?
%pre
.trace
#build-trace
%code
.bash
=
preserve
do
=
raw
@build
.
trace_html
-
else
.erased.alert.alert-warning
Build has been erased by
#{
@build
.
erased_by
.
username
}
#{
time_ago_with_tooltip
(
@build
.
created_at
)
}
%div
#down-build-trace
.col-md-3
...
...
features/project/builds/summary.feature
View file @
ede451c8
...
...
@@ -20,3 +20,4 @@ Feature: Project Builds Summary
And
I click erase build button
Then
recent build has been erased
And
recent build summary does not have artifacts widget
And
recent build summary contains information saying that build has been erased
features/steps/project/builds/summary.rb
View file @
ede451c8
...
...
@@ -24,4 +24,8 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps
step
'recent build summary does not have artifacts widget'
do
expect
(
page
).
to
have_no_css
(
'.artifacts'
)
end
step
'recent build summary contains information saying that build has been erased'
do
expect
(
page
).
to
have_css
(
'.erased'
)
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