Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antopalidi committed Sep 6, 2024
1 parent d2be81c commit b68f9a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion decidim-core/app/packs/src/decidim/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const announceToScreenReader = ($el, message) => {
announcementMessage += " ";
}
} else {
$msg = $('<div aria-role="alert" aria-live="assertive" aria-atomic="true" class="sr-only"></div>');
$msg = $('<div aria-role="alert" aria-live="assertive" aria-atomic="true" class="sr-only clipboard-announcement"></div>');
$el.after($msg);
$el.data("clipboard-message-element", $msg);
}
Expand Down
2 changes: 1 addition & 1 deletion decidim-initiatives/spec/system/filter_initiatives_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

within ".order-by__dropdown" do
expect(page).to have_selector("ul[data-dropdown-menu$=dropdown-menu]", text: "Random")
page.find("a", text: "Random").click
page.find("a", text: "Random", visible: true).click
click_link "Most commented"
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
find(".dummy").click
end

within ".item__edit-form .new_component" do
within ".new_component" do
fill_in_i18n(
:component_name,
"#component-name-tabs",
Expand Down

0 comments on commit b68f9a3

Please sign in to comment.