Bugzilla – Attachment 170752 Details for
Bug 37620
Fix randomly failing tests for cypress/integration/InfiniteScrollSelect_spec.ts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37620: Fix Total-Count headers
Bug-37620-Fix-Total-Count-headers.patch (text/plain), 3.64 KB, created by
Jonathan Druart
on 2024-08-27 09:46:19 UTC
(
hide
)
Description:
Bug 37620: Fix Total-Count headers
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-08-27 09:46:19 UTC
Size:
3.64 KB
patch
obsolete
>From 479e505af7351b42cc712d7efe409e9e3d187be3 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 27 Aug 2024 09:21:30 +0000 >Subject: [PATCH] Bug 37620: Fix Total-Count headers > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../integration/InfiniteScrollSelect_spec.ts | 32 +++++++++---------- > 1 file changed, 16 insertions(+), 16 deletions(-) > >diff --git a/t/cypress/integration/InfiniteScrollSelect_spec.ts b/t/cypress/integration/InfiniteScrollSelect_spec.ts >index 8d09faa4461..73daf8bc150 100644 >--- a/t/cypress/integration/InfiniteScrollSelect_spec.ts >+++ b/t/cypress/integration/InfiniteScrollSelect_spec.ts >@@ -63,8 +63,8 @@ describe("Infinite scroll", () => { > statusCode: 200, > body: pageOne, > headers: { >- "X-Base-Total-Count": "20", >- "X-Total-Count": "20", >+ "X-Base-Total-Count": "60", >+ "X-Total-Count": "60", > }, > }); > >@@ -81,8 +81,8 @@ describe("Infinite scroll", () => { > statusCode: 200, > body: pageTwo, > headers: { >- "X-Base-Total-Count": "40", >- "X-Total-Count": "40", >+ "X-Base-Total-Count": "60", >+ "X-Total-Count": "60", > }, > }).as("getPageTwo"); > // Scroll the dropdown >@@ -127,8 +127,8 @@ describe("Infinite scroll", () => { > statusCode: 200, > body: pageOne, > headers: { >- "X-Base-Total-Count": "20", >- "X-Total-Count": "20", >+ "X-Base-Total-Count": "60", >+ "X-Total-Count": "60", > }, > }); > >@@ -190,8 +190,8 @@ describe("Infinite scroll", () => { > statusCode: 200, > body: pageOne, > headers: { >- "X-Base-Total-Count": "20", >- "X-Total-Count": "20", >+ "X-Base-Total-Count": "60", >+ "X-Total-Count": "60", > }, > }).as("getPageOne"); > >@@ -208,8 +208,8 @@ describe("Infinite scroll", () => { > statusCode: 200, > body: pageTwo, > headers: { >- "X-Base-Total-Count": "40", >- "X-Total-Count": "40", >+ "X-Base-Total-Count": "60", >+ "X-Total-Count": "60", > }, > }).as("getPageTwo"); > // Scroll the dropdown >@@ -245,8 +245,8 @@ describe("Infinite scroll", () => { > }, > ], > headers: { >- "X-Base-Total-Count": "20", >- "X-Total-Count": "20", >+ "X-Base-Total-Count": "60", >+ "X-Total-Count": "60", > }, > }).as("searchFilter"); > // Select a license that is not in the first page of results >@@ -279,8 +279,8 @@ describe("Infinite scroll", () => { > statusCode: 200, > body: pageOne, > headers: { >- "X-Base-Total-Count": "20", >- "X-Total-Count": "20", >+ "X-Base-Total-Count": "60", >+ "X-Total-Count": "60", > }, > }).as("resetDropdown"); > cy.get("#license_id_0 .vs__open-indicator").click(); >@@ -306,8 +306,8 @@ describe("Infinite scroll", () => { > }, > ], > headers: { >- "X-Base-Total-Count": "20", >- "X-Total-Count": "20", >+ "X-Base-Total-Count": "60", >+ "X-Total-Count": "60", > }, > }).as("secondSearchFilter"); > cy.get("#license_id_0 .vs__open-indicator").click(); >-- >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 37620
:
170468
|
170749
|
170750
| 170752