Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed May 31, 2024
1 parent a9edc2a commit 13e8094
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions decidim-core/spec/system/mobile_header_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions decidim-verifications/spec/system/authorizations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 13e8094

Please sign in to comment.