Bugzilla – Attachment 155097 Details for
Bug 34319
Upgrade Cypress
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34319: Fix dialog_spec.ts
Bug-34319-Fix-dialogspects.patch (text/plain), 1.28 KB, created by
Pedro Amorim
on 2023-09-01 10:44:15 UTC
(
hide
)
Description:
Bug 34319: Fix dialog_spec.ts
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-09-01 10:44:15 UTC
Size:
1.28 KB
patch
obsolete
>From 50e6251537bb816d628097cb25ffb0e9a7ddaba4 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 1 Sep 2023 10:44:07 +0000 >Subject: [PATCH] Bug 34319: Fix dialog_spec.ts > >Follow the cypress upgrade instructions in the previous patch >Run the tests, verify they fail >Apply this patch, run tests again, verify they now pass >--- > t/cypress/integration/ERM/Dialog_spec.ts | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/t/cypress/integration/ERM/Dialog_spec.ts b/t/cypress/integration/ERM/Dialog_spec.ts >index d09fe8ce10..61ab37db64 100644 >--- a/t/cypress/integration/ERM/Dialog_spec.ts >+++ b/t/cypress/integration/ERM/Dialog_spec.ts >@@ -82,6 +82,14 @@ describe("Dialog operations", () => { > statusCode: 201, > body: erm_package, > }); >+ cy.intercept("GET", "/api/v1/erm/eholdings/local/packages*", { >+ statusCode: 200, >+ body: [erm_package], >+ headers: { >+ "X-Base-Total-Count": "1", >+ "X-Total-Count": "1", >+ }, >+ }); > cy.get("#packages_add").contains("Submit").click(); > cy.get("main div[class='dialog message']").contains("Package created"); > cy.get("main div[class='dialog message']").should("have.length", 1); >-- >2.30.2
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 34319
:
153714
|
153952
|
153954
|
155097
|
155234
|
155272