Bug 38201: Cypress fixes
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
4bf81161a7
commit
604257569f
|
|
@ -12,7 +12,7 @@ describe("Breadcrumbs tests", () => {
|
|||
cy.visit("/cgi-bin/koha/admin/admin-home.pl");
|
||||
cy.contains("Record sources").click();
|
||||
cy.get("#breadcrumbs").contains("Administration");
|
||||
cy.get(".item-last").contains("Record sources");
|
||||
cy.get(".breadcrumb-item").eq(2).contains("Record sources");
|
||||
// use the 'New' button
|
||||
cy.contains("New record source").click();
|
||||
cy.get(".current").contains("Add record source");
|
||||
|
|
|
|||
|
|
@ -154,11 +154,6 @@ describe("Infinite scroll", () => {
|
|||
cy.get("#status .vs__search").type(agreement.status + "{enter}", {
|
||||
force: true,
|
||||
});
|
||||
cy.get(
|
||||
"#agreement_licenses_0 #agreement_licenses_status_0 .vs__search"
|
||||
).type(agreement.agreement_licenses[0].status + "{enter}", {
|
||||
force: true,
|
||||
});
|
||||
|
||||
cy.intercept("POST", "/api/v1/erm/agreements", {
|
||||
statusCode: 201,
|
||||
|
|
|
|||
|
|
@ -49,7 +49,8 @@ describe("WaitingList", () => {
|
|||
);
|
||||
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
||||
cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
|
||||
cy.get("#preservation_home").contains(
|
||||
cy.get(".sidebar_menu").contains("Waiting list").click();
|
||||
cy.get("#preservation").contains(
|
||||
"You need to configure this module first."
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue