From 7da7f8f396fe9d893a3495a7bc626e41365b09fb Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 26 Jul 2024 13:20:07 +0000 Subject: [PATCH] Bug 37493: [DONT PUSH] Test only - Force test fail Apply this patch only, run: 1) cypress run --spec "t/cypress/integration/flatpickr_spec.ts" 2) run `git status`. Notice t/cypress/screenshots/ and t/cypress/videos/ show 3) Apply 2nd patch. Repeat 2). Notice its empty --- t/cypress/integration/flatpickr_spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/cypress/integration/flatpickr_spec.ts b/t/cypress/integration/flatpickr_spec.ts index 60f744776e..8857eaa267 100644 --- a/t/cypress/integration/flatpickr_spec.ts +++ b/t/cypress/integration/flatpickr_spec.ts @@ -21,7 +21,7 @@ describe("Flatpickr", () => { cy.get("#from+span > input").click(); cy.get(".flatpickr-calendar") .eq(0) - .find("span.today") + .find("span.todays") .click({ force: true }); cy.get("#from").invoke("val").should("eq", dates["today_iso"]); -- 2.39.2