From 8ba9c3d4f720d5e9939e403e156703ff68dcd6f8 Mon Sep 17 00:00:00 2001 From: Joonas Date: Wed, 31 Jan 2024 12:50:53 +0200 Subject: [PATCH] Fix spec --- spec/system/map_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/map_spec.rb b/spec/system/map_spec.rb index 987421a..79b64e0 100644 --- a/spec/system/map_spec.rb +++ b/spec/system/map_spec.rb @@ -750,7 +750,7 @@ def drag_polygon it "deletes the marker from the map" do page.execute_script(revgeo) add_marker - expect(page).to have_css(".leaflet-marker-icon") + expect(page).to have_css(".leaflet-marker-icon", visible: :all) find(".leaflet-marker-icon").click click_button "Delete shape" expect(page).not_to have_css(".leaflet-marker-icon")