[Koha-bugs] [Bug 33490] Agreements - Filter by expired results in error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 21 16:47:36 CEST 2023


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

Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:

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

--- Comment #36 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
(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.


More information about the Koha-bugs mailing list