From 6a0ac80a8d3cdbf3fd50e894aaaadde7ff617985 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 { 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"); -- 2.43.0