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 <AdditionalFieldsEntry"

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2026-02-12 09:27:13 +01:00 committed by Lucas Gass
parent a019e78f4b
commit f20fde6565
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 9 additions and 0 deletions

View File

@ -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");