diff --git a/app/views/registrar/base/_current_user.html.erb b/app/views/registrar/base/_current_user.html.erb index 0e45c9c7d..f200c9376 100644 --- a/app/views/registrar/base/_current_user.html.erb +++ b/app/views/registrar/base/_current_user.html.erb @@ -1,5 +1,4 @@ <% current_user_presenter = UserPresenter.new(user: current_registrar_user, view: self) %> -<%= link_to current_user_presenter.login_with_role, registrar_profile_path, id: 'registrar-profile-btn', - class: 'navbar-link' %> +<%= link_to current_user_presenter.login_with_role, registrar_profile_path, class: 'navbar-link' %> | <%= link_to t('.sign_out'), destroy_registrar_user_session_path, method: :delete, class: 'navbar-link' %> diff --git a/spec/features/registrar/profile_spec.rb b/spec/features/registrar/profile_spec.rb deleted file mode 100644 index 745542b58..000000000 --- a/spec/features/registrar/profile_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'rails_helper' - -RSpec.feature 'Registrar area profile', settings: false do - background do - sign_in_to_registrar_area(user: create(:api_user_with_unlimited_balance)) - end - - scenario 'shows profile' do - visit registrar_root_path - click_on 'registrar-profile-btn' - expect(page).to have_text(t('registrar.profile.show.header')) - end -end