diff --git a/app/views/shared/_signed_in.html.haml b/app/views/shared/_signed_in.html.haml index 0af52d6d94..c155a7bff2 100644 --- a/app/views/shared/_signed_in.html.haml +++ b/app/views/shared/_signed_in.html.haml @@ -4,7 +4,7 @@ %span.nav-primary = t 'label_notices' -%li.has-dropdown.not-click +%li.user-menu.has-dropdown.not-click %a{href: "#"} %i.ofn-i_022-cog diff --git a/spec/features/consumer/shopping/embedded_shopfronts_spec.rb b/spec/features/consumer/shopping/embedded_shopfronts_spec.rb index 4a4900e8c3..12770fc070 100644 --- a/spec/features/consumer/shopping/embedded_shopfronts_spec.rb +++ b/spec/features/consumer/shopping/embedded_shopfronts_spec.rb @@ -101,7 +101,7 @@ feature "Using embedded shopfront functionality", js: true do find('ul.right li#login-link a').click login_with_modal - wait_until { page.find('ul.right li.has-dropdown').value.present? } + wait_until { page.find('ul.right li.user-menu.has-dropdown').value.present? } logout_via_navigation expect(page).to have_text 'My Embedded Hub' @@ -120,7 +120,7 @@ feature "Using embedded shopfront functionality", js: true do end def logout_via_navigation - first('ul.right li.has-dropdown a').click + first('ul.right li.user-menu a').click find('ul.right ul.dropdown li a[title="Logout"]').click end end