Bugzilla – Attachment 161699 Details for
Bug 35940
Cypress tests for the Preservation module are failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35940: Close modal before typing
Bug-35940-Close-modal-before-typing.patch (text/plain), 1.06 KB, created by
Matt Blenkinsop
on 2024-01-31 16:38:25 UTC
(
hide
)
Description:
Bug 35940: Close modal before typing
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-01-31 16:38:25 UTC
Size:
1.06 KB
patch
obsolete
>From 09b439c956234fe2ac032e80e27c58a417878dc0 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Wed, 31 Jan 2024 16:36:27 +0000 >Subject: [PATCH] Bug 35940: Close modal before typing > >Tests currently fail due to a modal remaining open. This patch closes the modal to make the tests pass >--- > t/cypress/integration/Preservation/Trains.ts | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/cypress/integration/Preservation/Trains.ts b/t/cypress/integration/Preservation/Trains.ts >index 253864b61f..03cb7ba236 100644 >--- a/t/cypress/integration/Preservation/Trains.ts >+++ b/t/cypress/integration/Preservation/Trains.ts >@@ -645,6 +645,7 @@ describe("Trains", () => { > cy.get("main div[class='dialog alert modal']").contains( > "2 new items added. 1 items not found." > ); >+ cy.get("#close_modal").click(); > cy.contains("Add last 2 items to a train").click(); > cy.get("#train_id .vs__search").type(train.name + "{enter}"); > cy.intercept("GET", "/api/v1/items*", { >-- >2.37.1 (Apple Git-137.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 35940
:
161635
| 161699