correct and complete unit tests in Front-End

This commit is contained in:
Laurent GAY
2025-06-11 18:49:45 +02:00
parent 2fa54e8282
commit 533ecbdbba
67 changed files with 1900 additions and 203 deletions

View File

@@ -96,7 +96,8 @@ describe("ReportModal", () => {
);
const switchButton = wrapper.find('input[type="checkbox"]');
switchButton.setValue(true);
switchButton.setValue();
await wrapper.vm.$nextTick();
const submit = wrapper.find("footer button.o-btn--primary");
submit.trigger("click");