Bugzilla – Attachment 175235 Details for
Bug 38461
Table features needs to be covered by e2e tests using Cypress
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38461: Fix multiple case changes that broke variables
Bug-38461-Fix-multiple-case-changes-that-broke-var.patch (text/plain), 2.33 KB, created by
Jonathan Druart
on 2024-12-05 06:40:26 UTC
(
hide
)
Description:
Bug 38461: Fix multiple case changes that broke variables
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-12-05 06:40:26 UTC
Size:
2.33 KB
patch
obsolete
>From c31b62166be5f30d36a5d489934c8f874526ec46 Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Wed, 4 Dec 2024 22:25:54 +0100 >Subject: [PATCH] Bug 38461: Fix multiple case changes that broke variables > >Amended-by: Jonathan Druart >- "x-base-total-count": baseTotalCount, >- "x-total-count": baseTotalCount, >+ "X-Base-Total-Count": baseTotalCount, >+ "X-Total-Count": baseTotalCount, >--- > t/cypress/integration/KohaTable_spec.ts | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/t/cypress/integration/KohaTable_spec.ts b/t/cypress/integration/KohaTable_spec.ts >index 16f9c5c279e..2d7fd114c77 100644 >--- a/t/cypress/integration/KohaTable_spec.ts >+++ b/t/cypress/integration/KohaTable_spec.ts >@@ -482,9 +482,9 @@ describe("Hit all tables", () => { > const table_id = "holdings_table"; > it("correctly init", () => { > const biblio_id = 1; >- cy.task("buildsampleobjects", { >+ cy.task("buildSampleObjects", { > object: "item", >- count: restdefaultpagesize, >+ count: RESTdefaultPageSize, > values: { > biblio_id, > checkout: null, >@@ -500,8 +500,8 @@ describe("Hit all tables", () => { > statuscode: 200, > body: items, > headers: { >- "x-base-total-count": basetotalcount, >- "x-total-count": basetotalcount, >+ "X-Base-Total-Count": baseTotalCount, >+ "X-Total-Count": baseTotalCount, > }, > }); > >@@ -519,12 +519,12 @@ describe("Hit all tables", () => { > > cy.get(`#${table_id}_wrapper tbody tr`).should( > "have.length", >- restdefaultpagesize >+ RESTdefaultPageSize > ); > > cy.get(".show_filters").click(); > cy.get(`#${table_id}_wrapper .dt-info`).contains( >- `showing 1 to ${restdefaultpagesize} of ${basetotalcount} entries` >+ `Showing 1 to ${RESTdefaultPageSize} of ${baseTotalCount} entries` > ); > }); > }); >-- >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 38461
:
174877
|
174878
|
175004
|
175005
|
175006
|
175007
|
175008
|
175009
|
175010
|
175011
|
175015
|
175016
|
175179
|
175223
|
175224
|
175225
|
175226
|
175227
|
175228
|
175229
|
175230
|
175231
|
175232
|
175233
|
175234
|
175235
|
175289
|
175290
|
175291
|
175292
|
176082
|
176083
|
176084
|
176085
|
176086
|
176087
|
176088
|
176089
|
176090
|
176091
|
176092
|
176093
|
176793
|
176846
|
176902