Skip to content

Commit 3356fa8

Browse files
Fix selector in test
1 parent f54f904 commit 3356fa8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

decidim-sortitions/spec/system/decidim/sortitions/sortitions_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757

5858
within "form.new_filter" do
5959
fill_in("filter[search_text_cont]", with: "foobar")
60-
click_button "Search"
60+
within "div.filter-search" do
61+
click_button
62+
end
6163
end
6264

6365
expect(page).not_to have_content("Another sortition")

0 commit comments

Comments
 (0)