From 292666a294bd8708b116c453d3eb60b77fef03df Mon Sep 17 00:00:00 2001 From: ShellyDCMS <60476837+ShellyDCMS@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:47:01 +0200 Subject: [PATCH] fix tests for firefox --- cypress/e2e/modals.cy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/modals.cy.ts b/cypress/e2e/modals.cy.ts index 3de61dde..b36d7c9a 100644 --- a/cypress/e2e/modals.cy.ts +++ b/cypress/e2e/modals.cy.ts @@ -88,7 +88,8 @@ describe("modals", () => { when.setValue("modal:sources.add.source_id", sourceId); when.select("modal:sources.add.source_type", "pmtiles_vector"); when.setValue("modal:sources.add.source_url", "https://data.source.coop/protomaps/openstreetmap/v4.pmtiles"); - when.realClick("modal:sources.add.add_source"); + when.blur("modal:sources.add.source_url"); + when.click("modal:sources.add.add_source"); when.wait(200); then(get.styleFromLocalStorage()).shouldDeepNestedInclude({ sources: {