From f20fde656513c9d0b80daa6bbdf72fb043880037 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 12 Feb 2026 09:27:13 +0100 Subject: [PATCH] Bug 38262: Fix VueFramework_spec.ts Fix the following error: Error: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection. > JS Warning detected: "[Vue warn]: Unhandled error during execution of watcher callback" "\n" " at --- t/cypress/integration/VueFramework_spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/t/cypress/integration/VueFramework_spec.ts b/t/cypress/integration/VueFramework_spec.ts index 37a9586213..eec1f63978 100644 --- a/t/cypress/integration/VueFramework_spec.ts +++ b/t/cypress/integration/VueFramework_spec.ts @@ -347,6 +347,15 @@ describe("Form features", () => { new RegExp("/api/v1/acquisitions/vendors/(?!config$).+"), vendor ).as("get-vendor"); + cy.intercept( + "GET", + "/api/v1/acquisitions/vendors/extended_attribute_types*", + { + body: [], + statusCode: 200, + } + ); + cy.get("#name").type(vendor.name); cy.get("#toolbar button").contains("Save").click(); cy.wait("@get-vendor");