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
acc177c2
Commit
acc177c2
authored
Mar 27, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
9b64d446
8c8fac87
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
app/views/projects/artifacts/browse.html.haml
app/views/projects/artifacts/browse.html.haml
+1
-1
changelogs/unreleased/59502-fix-breadcrumb-artifacts.yml
changelogs/unreleased/59502-fix-breadcrumb-artifacts.yml
+5
-0
spec/features/projects/artifacts/user_browses_artifacts_spec.rb
...eatures/projects/artifacts/user_browses_artifacts_spec.rb
+6
-0
No files found.
app/views/projects/artifacts/browse.html.haml
View file @
acc177c2
...
...
@@ -4,7 +4,7 @@
=
render
"projects/jobs/header"
-
add_to_breadcrumbs
(
s_
(
'CICD|Jobs'
),
project_jobs_path
(
@project
))
-
add_to_breadcrumbs
(
"#
#{
@build
.
id
}
"
,
project_job
s_path
(
@project
))
-
add_to_breadcrumbs
(
"#
#{
@build
.
id
}
"
,
project_job
_path
(
@project
,
@build
))
.tree-holder
.nav-block
...
...
changelogs/unreleased/59502-fix-breadcrumb-artifacts.yml
0 → 100644
View file @
acc177c2
---
title
:
Fixes job link in artifacts page breadcrumb
merge_request
:
26592
author
:
type
:
fixed
spec/features/projects/artifacts/user_browses_artifacts_spec.rb
View file @
acc177c2
...
...
@@ -19,6 +19,12 @@ describe "User browses artifacts" do
visit
(
browse_project_job_artifacts_path
(
project
,
job
))
end
it
"renders a link to the job in the breadcrumbs"
do
page
.
within
(
'.js-breadcrumbs-list'
)
do
expect
(
page
).
to
have_link
(
"#
#{
job
.
id
}
"
,
href:
project_job_path
(
project
,
job
))
end
end
it
"shows artifacts"
do
expect
(
page
).
not_to
have_selector
(
".build-sidebar"
)
...
...
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