correct screen "participation without account" and adapt test - issue 1776

This commit is contained in:
Laurent GAY
2025-06-27 19:18:45 +02:00
parent cf932a378f
commit 7f849d116b
4 changed files with 31 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ describe("ParticipationWithoutAccount", () => {
await flushPromises();
expect(requestHandlers.joinEventMutationHandler).toHaveBeenCalledWith(
expect.objectContaining(joinEventMock)
joinEventMock
);
expect(wrapper.vm.error).toBe(false);
@@ -220,7 +220,7 @@ describe("ParticipationWithoutAccount", () => {
await flushPromises();
expect(requestHandlers.joinEventMutationHandler).toHaveBeenCalledWith(
expect.objectContaining(joinEventMock)
joinEventMock
);
expect(wrapper.vm.error).toBe(false);
@@ -265,7 +265,7 @@ describe("ParticipationWithoutAccount", () => {
await flushPromises();
expect(requestHandlers.joinEventMutationHandler).toHaveBeenCalledWith(
expect.objectContaining(joinEventMock)
joinEventMock
);
await flushPromises();
expect(wrapper.find("form").exists()).toBeTruthy();