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
d6b4b33c
Commit
d6b4b33c
authored
Jan 17, 2019
by
Vladimir Shushlin
Committed by
Lin Jen-Shin
Jan 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show CI artifacts size with 3 significant digits
parent
59ac14aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
app/views/projects/artifacts/_tree_file.html.haml
app/views/projects/artifacts/_tree_file.html.haml
+1
-1
changelogs/unreleased/56363-inconsitent-file-size-indication-across-different-ci-pages.yml
...sitent-file-size-indication-across-different-ci-pages.yml
+6
-0
spec/features/projects/artifacts/user_browses_artifacts_spec.rb
...eatures/projects/artifacts/user_browses_artifacts_spec.rb
+2
-2
No files found.
app/views/projects/artifacts/_tree_file.html.haml
View file @
d6b4b33c
...
...
@@ -14,4 +14,4 @@
=
link_to
path_to_file
,
class:
'str-truncated'
do
%span
=
blob
.
name
%td
=
number_to_human_size
(
blob
.
size
,
precision:
2
)
=
number_to_human_size
(
blob
.
size
)
changelogs/unreleased/56363-inconsitent-file-size-indication-across-different-ci-pages.yml
0 → 100644
View file @
d6b4b33c
---
title
:
Show CI artifact file size with 3 significant digits on 'browse job artifacts'
page
merge_request
:
24387
author
:
type
:
fixed
spec/features/projects/artifacts/user_browses_artifacts_spec.rb
View file @
d6b4b33c
...
...
@@ -25,8 +25,8 @@ describe "User browses artifacts" do
page
.
within
(
".tree-table"
)
do
expect
(
page
).
to
have_no_content
(
".."
)
.
and
have_content
(
"other_artifacts_0.1.2"
)
.
and
have_content
(
"ci_artifacts.txt"
)
.
and
have_content
(
"rails_sample.jpg"
)
.
and
have_content
(
"ci_artifacts.txt
27 Bytes
"
)
.
and
have_content
(
"rails_sample.jpg
34.4 KB
"
)
end
page
.
within
(
".build-header"
)
do
...
...
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