From b7bd4c41aee82e71e7e717662137cfd49ea4e748 Mon Sep 17 00:00:00 2001 From: Joonas Date: Thu, 28 Nov 2024 13:03:16 +0200 Subject: [PATCH] Fix specs --- .../spec/system/answer_questionnaire_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/decidim-module-forms_locations/spec/system/answer_questionnaire_spec.rb b/decidim-module-forms_locations/spec/system/answer_questionnaire_spec.rb index 1fe65aa..8d541c9 100644 --- a/decidim-module-forms_locations/spec/system/answer_questionnaire_spec.rb +++ b/decidim-module-forms_locations/spec/system/answer_questionnaire_spec.rb @@ -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 @@ -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