From 6ab8ba8d3544c8ec46c7371d36a4634d9beb3cc1 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Sat, 21 Mar 2026 13:26:32 +0000 Subject: [PATCH] Bug 41615: (follow-up) Simplify 'List license' test - visit licenses directly for 500 test --- t/cypress/integration/ERM/Licenses_spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/cypress/integration/ERM/Licenses_spec.ts b/t/cypress/integration/ERM/Licenses_spec.ts index 3587b146a4..cb52821a9e 100644 --- a/t/cypress/integration/ERM/Licenses_spec.ts +++ b/t/cypress/integration/ERM/Licenses_spec.ts @@ -32,8 +32,7 @@ describe("License CRUD operations", () => { cy.intercept("GET", "/api/v1/erm/licenses*", { statusCode: 500, }); - cy.visit("/cgi-bin/koha/erm/erm.pl"); - cy.get(".sidebar_menu").contains("Licenses").click(); + cy.visit("/cgi-bin/koha/erm/licenses"); cy.get("main div[class='alert alert-warning']").contains( "Something went wrong: Error: Internal Server Error" );