Bug 38201: Fix cypress tests

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Matt Blenkinsop 2025-07-23 11:13:36 +01:00 committed by Lucas Gass
parent cf8e64020d
commit 9e1fa0ac77
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import ResourceWrapper from "../components/ResourceWrapper.vue";
import { $__ } from "@koha-vue/i18n";
const vendorSearchBreadcrumb = ({ match, query }) => {
if (!query || !query.supplier) return match.meta.self;
if (!query || !query.supplier) return match;
match.title = $__("Search for vendor: %s").format(query.supplier);
match.disabled = true;
return match;

View File

@ -95,7 +95,6 @@ describe("Agreement CRUD operations", () => {
.next("span")
.click(); // select tomorrow
cy.get("#filterTable").click();
cy.wait("@getActiveAgreements");
cy.wait("@getActiveAgreements")
.its("request.url")
.should("include", "max_expiration_date=" + dates["tomorrow_iso"]);