Bugzilla – Attachment 175230 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: Jump to the configuration page
Bug-38461-Jump-to-the-configuration-page.patch (text/plain), 1.57 KB, created by
Victor Grousset/tuxayo
on 2024-12-05 06:13:05 UTC
(
hide
)
Description:
Bug 38461: Jump to the configuration page
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-12-05 06:13:05 UTC
Size:
1.57 KB
patch
obsolete
>From 712fdabb463ceaf18af793b68f85234a6dc9235b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 27 Nov 2024 15:53:31 +0100 >Subject: [PATCH] Bug 38461: Jump to the configuration page > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > t/cypress/integration/KohaTable_spec.ts | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > >diff --git a/t/cypress/integration/KohaTable_spec.ts b/t/cypress/integration/KohaTable_spec.ts >index 8b1667a61e..48364401d8 100644 >--- a/t/cypress/integration/KohaTable_spec.ts >+++ b/t/cypress/integration/KohaTable_spec.ts >@@ -325,6 +325,24 @@ describe("kohaTable (using REST API)", () => { > }); > }); > }); >+ >+ it("Jump to the configuration page", () => { >+ cy.visit("/cgi-bin/koha/admin/branches.pl"); >+ cy.get(`#${table_id}_wrapper .dt_button_configure_table`).click(); >+ cy.url().should("contain", "module=admin"); >+ cy.url().should("contain", "page=libraries"); >+ cy.url().should("contain", "table=libraries"); >+ >+ cy.wait(2000); // ensure the animation completes, random failures? >+ cy.get("#admin_panel") >+ .contains("Table id: libraries") >+ .should("be.visible"); >+ >+ cy.window().then(win => { >+ const scrollTop = win.scrollY || win.pageYOffset; >+ expect(scrollTop).to.be.greaterThan(0); // Ensure some scrolling happened >+ }); >+ }); > }); > > describe("Patrons search", () => { >-- >2.47.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