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:
parent
cf8e64020d
commit
9e1fa0ac77
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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"]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue