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
Tatuya Kamada
gitlab-ce
Commits
2be714dc
Commit
2be714dc
authored
Sep 24, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show CI status on commit page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9c4307e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
CHANGELOG
CHANGELOG
+1
-0
features/project/commits/commits.feature
features/project/commits/commits.feature
+5
-0
features/steps/project/commits/commits.rb
features/steps/project/commits/commits.rb
+9
-0
No files found.
CHANGELOG
View file @
2be714dc
...
...
@@ -6,6 +6,7 @@ v 8.1.0 (unreleased)
- Move CI charts to project graphs area
- Fix cases where Markdown did not render links in activity feed (Stan Hu)
- Add first and last to pagination (Zeger-Jan van de Weg)
- Show CI status on commit page
v 8.0.2 (unreleased)
- Skip check_initd_configured_correctly on omnibus installs
...
...
features/project/commits/commits.feature
View file @
2be714dc
...
...
@@ -16,6 +16,11 @@ Feature: Project Commits
Then
I see commit info
And
I see side-by-side diff button
Scenario
:
I
browse commit with ci from list
Given
commit has ci status
And
I click on commit link
Then
I see commit ci info
Scenario
:
I
browse commit with side-by-side diff view
Given
I click on commit link
And
I click side-by-side diff button
...
...
features/steps/project/commits/commits.rb
View file @
2be714dc
...
...
@@ -101,4 +101,13 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
step
'I click side-by-side diff button'
do
find
(
'#parallel-diff-btn'
).
click
end
step
'commit has ci status'
do
@project
.
enable_ci
(
@user
)
create
:ci_commit
,
project:
@project
.
gitlab_ci_project
,
sha:
sample_commit
.
id
end
step
'I see commit ci info'
do
expect
(
page
).
to
have_content
"build: skipped"
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