Bugzilla – Attachment 183115 Details for
Bug 38899
Allow the Vue toolbar to be sticky
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38899: Add a cypress test
Bug-38899-Add-a-cypress-test.patch (text/plain), 1.26 KB, created by
Jonathan Druart
on 2025-06-10 09:31:45 UTC
(
hide
)
Description:
Bug 38899: Add a cypress test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-06-10 09:31:45 UTC
Size:
1.26 KB
patch
obsolete
>From 7a6c0e8ccebacf33909ddce6b78e0949e6520248 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Wed, 15 Jan 2025 10:42:19 +0000 >Subject: [PATCH] Bug 38899: Add a cypress test > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/cypress/integration/Toolbar_spec.ts | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/t/cypress/integration/Toolbar_spec.ts b/t/cypress/integration/Toolbar_spec.ts >index e7aaf19ec82..385634ad52d 100644 >--- a/t/cypress/integration/Toolbar_spec.ts >+++ b/t/cypress/integration/Toolbar_spec.ts >@@ -33,4 +33,16 @@ describe("Sticky toolbar", () => { > cy.get("#toolbar a").contains("Receive shipments").click(); > cy.get("h1").contains("Receive shipment from vendor " + vendor.name); > }); >+ >+ it("Should stick on scroll", () => { >+ cy.visit("/cgi-bin/koha/acqui/acqui-home.pl"); >+ >+ cy.get("#toolbar").contains("New vendor").click(); >+ cy.scrollTo("bottom"); >+ cy.get("#toolbar").should("be.visible"); >+ cy.get("#toolbar").should("have.class", "floating"); >+ >+ cy.scrollTo("top"); >+ cy.get("#toolbar").should("not.have.class", "floating"); >+ }); > }); >-- >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 38899
:
176545
|
176546
|
181822
|
181823
|
181851
|
181852
|
181965
|
182151
|
182249
|
182250
|
182255
|
182449
|
182580
|
182646
|
182973
|
182974
|
182975
|
182976
|
182977
|
182978
|
182979
|
182980
|
183114
| 183115 |
183116
|
183117
|
183118
|
183119
|
183120
|
183121