Commit cdb3ac7d authored by Kev's avatar Kev Committed by Rémy Coutable

Replace Runner Page Title with Runner’s Hash

parent 8eb82362
......@@ -9,7 +9,7 @@
%span.runner-state.runner-state-specific
Specific
- page_title _("Runners")
- page_title @runner.short_sha
- add_to_breadcrumbs _("Runners"), admin_runners_path
- breadcrumb_title "##{@runner.id}"
......
---
title: Replace Runner Page Title with Runner’s Hash
merge_request: 44854
author: Kev @KevSlashNull
type: changed
......@@ -282,6 +282,12 @@ RSpec.describe "Admin Runners" do
visit admin_runner_path(runner)
end
describe 'runner page breadcrumbs' do
it 'contains the current runner’s short sha' do
expect(page.find('h2')).to have_content(runner.short_sha)
end
end
describe 'projects' do
it 'contains project names' do
expect(page).to have_content(@project1.full_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment