From 6199b808d0ff54ae69616226d09b9e339429dc9c Mon Sep 17 00:00:00 2001 From: ShellyDCMS <60476837+ShellyDCMS@users.noreply.github.com> Date: Wed, 8 Jan 2025 10:32:59 +0200 Subject: [PATCH] Try to fix tests --- cypress/e2e/modals.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/modals.cy.ts b/cypress/e2e/modals.cy.ts index 5139f8a9..a9dcb9a5 100644 --- a/cypress/e2e/modals.cy.ts +++ b/cypress/e2e/modals.cy.ts @@ -88,7 +88,7 @@ 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.focus("modal:sources.add.add_source"); + when.click("modal:sources.add.add_source"); when.click("modal:sources.add.add_source"); when.wait(200); then(get.styleFromLocalStorage()).shouldDeepNestedInclude({