From 9cf7c626ae463bf46588ccce24c077b8b5fe753c Mon Sep 17 00:00:00 2001 From: Joonas Date: Wed, 31 Jan 2024 12:40:45 +0200 Subject: [PATCH] Edit 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 ecae722..987421a 100644 --- a/spec/system/map_spec.rb +++ b/spec/system/map_spec.rb @@ -785,7 +785,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('div[title="Remove Layers"] a').click find(".leaflet-marker-icon").click expect(page).not_to have_css(".leaflet-marker-icon")