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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2a7a066e
Commit
2a7a066e
authored
Oct 16, 2020
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add totalDuration to mock_data and spec
parent
b2007a3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
spec/frontend/projects/pipelines/charts/components/__snapshots__/statistics_list_spec.js.snap
...rts/components/__snapshots__/statistics_list_spec.js.snap
+9
-3
spec/frontend/projects/pipelines/charts/mock_data.js
spec/frontend/projects/pipelines/charts/mock_data.js
+1
-0
No files found.
spec/frontend/projects/pipelines/charts/components/__snapshots__/statistics_list_spec.js.snap
View file @
2a7a066e
...
...
@@ -11,7 +11,6 @@ exports[`StatisticsList matches the snapshot 1`] = `
4 pipelines
</strong>
</li>
<li>
<span>
Successful:
...
...
@@ -21,7 +20,6 @@ exports[`StatisticsList matches the snapshot 1`] = `
2 pipelines
</strong>
</li>
<li>
<span>
Failed:
...
...
@@ -31,7 +29,6 @@ exports[`StatisticsList matches the snapshot 1`] = `
2 pipelines
</strong>
</li>
<li>
<span>
Success ratio:
...
...
@@ -41,5 +38,14 @@ exports[`StatisticsList matches the snapshot 1`] = `
50%
</strong>
</li>
<li>
<span>
Total duration:
</span>
<strong>
32:15:58
</strong>
</li>
</ul>
`;
spec/frontend/projects/pipelines/charts/mock_data.js
View file @
2a7a066e
...
...
@@ -3,6 +3,7 @@ export const counts = {
success
:
2
,
total
:
4
,
successRatio
:
50
,
totalDuration
:
116158
,
};
export
const
timesChartData
=
{
...
...
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