diff --git a/app/views/new_administrateur/profil/show.html.haml b/app/views/new_administrateur/profil/show.html.haml index 1b685d7aa..f9775305a 100644 --- a/app/views/new_administrateur/profil/show.html.haml +++ b/app/views/new_administrateur/profil/show.html.haml @@ -1,3 +1,7 @@ += render partial: 'new_administrateur/breadcrumbs', + locals: { steps: [link_to('Tableau de bord', admin_procedures_path), + 'Profil'] } + #profil-page.container %h1 Profil diff --git a/spec/features/admin/connection_spec.rb b/spec/features/admin/connection_spec.rb index db5f9f1c4..3b6168311 100644 --- a/spec/features/admin/connection_spec.rb +++ b/spec/features/admin/connection_spec.rb @@ -47,8 +47,7 @@ feature 'Administrator connection' do end context 'when clicking on procedure' do before do - page.find_by_id('admin_menu').click - page.find_by_id('menu_item_procedure').click + page.click_on('Tableau de bord').click end scenario 'it redirects to procedure page' do