[Koha-bugs] [Bug 33973] Sorting broken on ERM tables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 19 12:31:39 CEST 2023


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

--- Comment #7 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Pedro Amorim from comment #6)
> This fixes the reported issue.
> 
> However, Jonathan, I think we should consider moving cypress tests into
> db_dependent and test with live data coming from the API instead of mocking,
> otherwise creating a test for this (and other things) is pointless.
> 
> In this example, "_order_by: -me.publication_title" was not being sent on
> the request headers. We can't write a test for this as we're mocking the
> response instead of getting what the API actually returns.
> I think we discussed moving in this direction in the past, but I can't
> recall what we decided upon or what were the reasons for not doing it!

We need a way to access the config from cypress tests (for the DB connection).
Tests must create the data they need not rely on existing data.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list