https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33490

Pedro Amorim <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--- Comment #36 from Pedro Amorim <[email protected]> ---
(In reply to Jonathan Druart from comment #34)
> Tests are using 'today_us' that was not used. That means that the tests will
> fail if dateformat is not the value from the sample data.
> 
> Not ideal but better to have a test.
> 
> 
> +        cy.url().should('include',
> "/cgi-bin/koha/erm/agreements?by_expired=true"); // Browser url also updated
> 
> Should not we adjust this test?

The flatpickr input in the UI is using today_us e.g. 04/20/2023
The flatpickr element attribute that stores the date is today_iso e.g.
2023-04-20
The URL dateformat is today_iso e.g. 2023-04-20

There was a slight difference in the selector ("+input") of my test. Adjusted
now.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to