Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonasAapro committed Nov 28, 2024
1 parent e4f8779 commit b7bd4c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def add_marker(latitude: 11.521, longitude: 5.521)
5.times do
find(".leaflet-control-zoom-out").click
end
expect(page).to have_css(".marker-cluster", wait: 10)
expect(page).to have_css(".marker-cluster-small")
end

context "when marker clicked" do
Expand All @@ -222,7 +222,7 @@ def add_marker(latitude: 11.521, longitude: 5.521)
5.times do
find(".leaflet-control-zoom-out").click
end
expect(page).to have_css(".marker-cluster", wait: 10)
expect(page).to have_css(".marker-cluster-small")
find(".marker-cluster-small").click
expect(page).to have_css(".leaflet-marker-pane > img", count: 2)
end
Expand Down

0 comments on commit b7bd4c4

Please sign in to comment.