diff --git a/decidim-core/spec/system/mobile_header_spec.rb b/decidim-core/spec/system/mobile_header_spec.rb index f3f5fe4e84db3..acd82ac80c4a4 100644 --- a/decidim-core/spec/system/mobile_header_spec.rb +++ b/decidim-core/spec/system/mobile_header_spec.rb @@ -12,10 +12,6 @@ visit decidim.root_path end - it "does not have a sticky header" do - expect(page).to have_no_css(".with-admin-bar") - end - it "does not include mobile login classes" do expect(page).to have_no_css(".main-bar__links-mobile__login") end @@ -55,7 +51,7 @@ it "includes access to the language selector and search bar" do within ".menu-bar__main-dropdown__top" do expect(page).to have_css(".filter-search") - expect(page).to have_css("#trigger-dropdown-language-chooser-mobile") + expect(page).to have_css("#dropdown-trigger-language-chooser-mobile") end end end diff --git a/decidim-verifications/spec/system/authorizations_spec.rb b/decidim-verifications/spec/system/authorizations_spec.rb index e4ec84edc76cf..7a848bec7ae6b 100644 --- a/decidim-verifications/spec/system/authorizations_spec.rb +++ b/decidim-verifications/spec/system/authorizations_spec.rb @@ -18,7 +18,7 @@ before do visit decidim.root_path within "#main-bar" do - click_on("Log in") + click_on("Login") end within "form.new_user", match: :first do @@ -116,7 +116,7 @@ before do visit decidim.root_path within "#main-bar" do - click_on("Log in") + click_on("Login") end within "form.new_user", match: :first do