Bugzilla – Attachment 150048 Details for
Bug 33490
Agreements - Filter by expired results in error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33490: Add test
Bug-33490-Add-test.patch (text/plain), 1.23 KB, created by
Pedro Amorim
on 2023-04-21 14:47:16 UTC
(
hide
)
Description:
Bug 33490: Add test
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-04-21 14:47:16 UTC
Size:
1.23 KB
patch
obsolete
>From 7ab27dc305dcfd0b63cc130c94e51374772e4af2 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 21 Apr 2023 12:53:15 +0000 >Subject: [PATCH] Bug 33490: Add test > >--- > t/cypress/integration/ERM/Agreements_spec.ts | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/t/cypress/integration/ERM/Agreements_spec.ts b/t/cypress/integration/ERM/Agreements_spec.ts >index 8a1dfc9148..0c65f3d2b9 100644 >--- a/t/cypress/integration/ERM/Agreements_spec.ts >+++ b/t/cypress/integration/ERM/Agreements_spec.ts >@@ -193,6 +193,12 @@ describe("Agreement CRUD operations", () => { > cy.visit("/cgi-bin/koha/erm/agreements?by_expired=true&max_expiration_date="+dates["tomorrow_iso"]); > cy.wait('@getActiveAgreements').its('request.url').should('include', 'max_expiration_date='+dates["tomorrow_iso"]); > >+ // Verify that the date input is automatically filled if "by_expired" ticked but date is empty >+ cy.get("#max_expiration_date_filter+input").clear(); >+ cy.get("#expired_filter").check(); >+ cy.get("#filter_table").click(); >+ cy.get("#max_expiration_date_filter").should('have.value', dates["today_iso"]); >+ > // Test filter button with show mine_only ticked > }); > >-- >2.30.2
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 33490
:
149519
|
149521
|
149522
|
149523
|
149603
|
149604
|
149615
|
149643
|
149652
|
149661
|
149672
|
149673
|
149674
|
149675
|
149676
|
150038
|
150039
|
150040
|
150048
|
150194
|
150195
|
150196
|
150197
|
150198
|
150199
|
150200
|
150201