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
9b20731d
Commit
9b20731d
authored
Dec 08, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tests and changelog item for language graphs
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9b561e7e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
CHANGELOG
CHANGELOG
+1
-0
features/project/graph.feature
features/project/graph.feature
+5
-0
features/steps/project/graph.rb
features/steps/project/graph.rb
+9
-0
No files found.
CHANGELOG
View file @
9b20731d
...
...
@@ -17,6 +17,7 @@ v 8.3.0 (unreleased)
- Fix: Ensure "Remove Source Branch" button is not shown when branch is being deleted. #3583
- Run custom Git hooks when branch is created or deleted.
- Fix bug when simultaneously accepting multiple MRs results in MRs that are of "merged" status, but not merged to the target branch
- Add languages page to graphs
v 8.2.3
- Fix application settings cache not expiring after changes (Stan Hu)
...
...
features/project/graph.feature
View file @
9b20731d
...
...
@@ -18,3 +18,8 @@ Feature: Project Graph
Given
project
"Shop"
has CI enabled
When
I visit project
"Shop"
CI graph page
Then
page should have CI graphs
@javascript
Scenario
:
I
should see project languages graphs
When
I visit project
"Shop"
languages graph page
Then
page should have languages graphs
features/steps/project/graph.rb
View file @
9b20731d
...
...
@@ -14,6 +14,15 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
visit
commits_namespace_project_graph_path
(
project
.
namespace
,
project
,
"master"
)
end
step
'I visit project "Shop" languages graph page'
do
visit
languages_namespace_project_graph_path
(
project
.
namespace
,
project
,
"master"
)
end
step
'page should have languages graphs'
do
expect
(
page
).
to
have_content
"Ruby 66.63 %"
expect
(
page
).
to
have_content
"JavaScript 22.96 %"
end
step
'page should have commits graphs'
do
expect
(
page
).
to
have_content
"Commit statistics for master"
expect
(
page
).
to
have_content
"Commits per day of month"
...
...
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