Bugzilla – Attachment 187398 Details for
Bug 38201
VueJS architecture rethink
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38201: Fix InfiniteScrollSelect_spec.ts
Bug-38201-Fix-InfiniteScrollSelectspects.patch (text/plain), 2.14 KB, created by
Jonathan Druart
on 2025-10-03 14:10:41 UTC
(
hide
)
Description:
Bug 38201: Fix InfiniteScrollSelect_spec.ts
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-10-03 14:10:41 UTC
Size:
2.14 KB
patch
obsolete
>From e210d3b609259f2fadf9c525f8a2bda4081930ab Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 3 Oct 2025 16:09:55 +0200 >Subject: [PATCH] Bug 38201: Fix InfiniteScrollSelect_spec.ts > >Same as > commit 64a271992a7022be061a9e65a056c96c990b1a92 > Bug 38201: Improve Agreements/Edit tests > > It removes the following DT warning in the console > > DataTables warning: table id=DataTables_Table_0 - Requested unknown parameter 'status' for row 0, column 4. For more information about this error, please see https://datatables.net/tn/4 > > related to bug 40809 >--- > .../integration/InfiniteScrollSelect_spec.ts | 18 +++++------------- > 1 file changed, 5 insertions(+), 13 deletions(-) > >diff --git a/t/cypress/integration/InfiniteScrollSelect_spec.ts b/t/cypress/integration/InfiniteScrollSelect_spec.ts >index 122576be02f..dfd6eef5990 100644 >--- a/t/cypress/integration/InfiniteScrollSelect_spec.ts >+++ b/t/cypress/integration/InfiniteScrollSelect_spec.ts >@@ -346,27 +346,19 @@ describe("Infinite scroll", () => { > }).as("get-vendor-options"); > > // Intercept initial /agreements request once >- cy.intercept( >- { >- method: "GET", >- url: "/api/v1/erm/agreements*", >- times: 1, >- }, >- { >- body: agreements, >- } >- ); >+ // and > // Intercept follow-up 'search' request after entering /agreements >- cy.intercept("GET", "/api/v1/erm/agreements?_page*", { >+ cy.intercept("GET", "/api/v1/erm/agreements*", { > statusCode: 200, > body: agreements, > headers: { > "X-Base-Total-Count": "1", > "X-Total-Count": "1", > }, >- }).as("get-single-agreement-search-result"); >+ }).as("get-agreements"); > cy.visit("/cgi-bin/koha/erm/agreements"); >- cy.wait("@get-single-agreement-search-result"); >+ cy.wait("@get-agreements"); >+ cy.wait("@get-agreements"); > > // Intercept request after edit click > cy.intercept("GET", "/api/v1/erm/agreements/*", agreement).as( >-- >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 38201
:
187373
|
187374
|
187375
| 187398