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:
parent
a019e78f4b
commit
f20fde6565
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue