Bugzilla – Attachment 149001 Details for
Bug 33370
Cypress tests are failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33370: Intercept and wait for avs and vendors GETs
Bug-33370-Intercept-and-wait-for-avs-and-vendors-G.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2023-03-30 14:41:45 UTC
(
hide
)
Description:
Bug 33370: Intercept and wait for avs and vendors GETs
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-03-30 14:41:45 UTC
Size:
1.22 KB
patch
obsolete
>From 27764d5e45e8e0cc1d265497f03eda6ce58b6fbe Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 30 Mar 2023 16:40:30 +0200 >Subject: [PATCH] Bug 33370: Intercept and wait for avs and vendors GETs > >--- > t/cypress/integration/Agreements_spec.ts | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/t/cypress/integration/Agreements_spec.ts b/t/cypress/integration/Agreements_spec.ts >index 8dd209ee8d5..86387b94629 100644 >--- a/t/cypress/integration/Agreements_spec.ts >+++ b/t/cypress/integration/Agreements_spec.ts >@@ -125,6 +125,9 @@ describe("Agreement CRUD operations", () => { > beforeEach(() => { > cy.login(); > cy.title().should("eq", "Koha staff interface"); >+ >+ cy.intercept("GET", "/api/v1/authorised_value_categories*").as("avs"); >+ cy.intercept("GET", "/api/v1/acquisitions/vendors*").as("vendors"); > }); > > after(() => { >@@ -178,6 +181,7 @@ describe("Agreement CRUD operations", () => { > > // Click the button in the toolbar > cy.visit("/cgi-bin/koha/erm/agreements"); >+ cy.wait(["@avs", "@vendors"]); > cy.contains("New agreement").click(); > cy.get("#agreements_add h2").contains("New agreement"); > >-- >2.25.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 33370
: 149001 |
149119