Bugzilla – Attachment 155232 Details for
Bug 34690
Cypress - Fix random failure in Dialog_spec.ts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34690: Fix dialog_spec.ts
Bug-34690-Fix-dialogspects.patch (text/plain), 1.33 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-09-05 17:26:22 UTC
(
hide
)
Description:
Bug 34690: Fix dialog_spec.ts
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-09-05 17:26:22 UTC
Size:
1.33 KB
patch
obsolete
>From c0f1015daca139f485e04ba5e9a52acfd100e18a Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 1 Sep 2023 12:53:43 +0000 >Subject: [PATCH] Bug 34690: Fix dialog_spec.ts > >Run the tests, verify they fail >Apply this patch, run tests again, verify they now pass > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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 88fb877e24d..131b799c5a7 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("#package_list_result").should("exist"); >-- >2.42.0
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 34690
:
155113
|
155115
|
155116
|
155231
| 155232