Bugzilla – Attachment 149871 Details for
Bug 33416
Agreements.ts is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33416: Fix Searchbar_spec.ts
Bug-33416-Fix-Searchbarspects.patch (text/plain), 1.49 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-04-19 12:20:34 UTC
(
hide
)
Description:
Bug 33416: Fix Searchbar_spec.ts
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-04-19 12:20:34 UTC
Size:
1.49 KB
patch
obsolete
>From e1ab0c33fecda4e4d18c757c33bf9c7bf60f05f8 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 19 Apr 2023 09:19:29 -0300 >Subject: [PATCH] Bug 33416: Fix Searchbar_spec.ts > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/cypress/integration/ERM/Searchbar_spec.ts | 12 +++--------- > 1 file changed, 3 insertions(+), 9 deletions(-) > >diff --git a/t/cypress/integration/ERM/Searchbar_spec.ts b/t/cypress/integration/ERM/Searchbar_spec.ts >index bf42ccc68e0..21bcc181f69 100644 >--- a/t/cypress/integration/ERM/Searchbar_spec.ts >+++ b/t/cypress/integration/ERM/Searchbar_spec.ts >@@ -1,16 +1,10 @@ > describe("Searchbar header changes", () => { >- before(() => { >- cy.fetch_initial_ERM_sys_pref_value(); >- cy.set_ERM_sys_pref_value(true); >- }); > > beforeEach(() => { > cy.login(); > cy.title().should("eq", "Koha staff interface"); >- }); >- >- after(() => { >- cy.reset_initial_ERM_sys_pref_value(); >+ cy.intercept("GET", "/cgi-bin/koha/svc/config/systempreferences/?pref=ERMModule", '{"value":"1"}'); >+ cy.intercept("GET", "/cgi-bin/koha/svc/config/systempreferences/?pref=ERMProviders", '{"value":"local"}'); > }); > > it("Default option is agreements", () => { >@@ -35,4 +29,4 @@ describe("Searchbar header changes", () => { > cy.visit("/cgi-bin/koha/erm/eholdings/local/titles"); > cy.get("#title_search_tab").parent().should("have.class", "active") > }) >-}) >\ No newline at end of file >+}) >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33416
:
149187
|
149199
|
149870
| 149871