Set page title in project - container registry

- Set page title with i18n
- feature test to verify the page title presence
- changelog entry 
parent 4d3b1d55
- page_title _("Container Registry")
%section %section
.row.registry-placeholder.prepend-bottom-10 .row.registry-placeholder.prepend-bottom-10
.col-12 .col-12
......
---
title: Add missing page title to projects/container-registry
merge_request: 18114
author:
type: changed
...@@ -17,6 +17,11 @@ describe 'Container Registry', :js do ...@@ -17,6 +17,11 @@ describe 'Container Registry', :js do
stub_container_registry_tags(repository: :any, tags: []) stub_container_registry_tags(repository: :any, tags: [])
end end
it 'has a page title set' do
visit_container_registry
expect(page).to have_title(_('Container Registry'))
end
context 'when there are no image repositories' do context 'when there are no image repositories' do
it 'user visits container registry main page' do it 'user visits container registry main page' do
visit_container_registry visit_container_registry
......
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