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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Pedro Amorim 2024-07-26 13:20:07 +00:00 committed by Katrin Fischer
parent d9b857ecc0
commit 0d69fc6090
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -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"]);