diff --git a/packages/webapp-libs/webapp-tenants/src/components/tenantMembersList/membershipEntry/__tests__/membershipEntry.component.spec.tsx b/packages/webapp-libs/webapp-tenants/src/components/tenantMembersList/membershipEntry/__tests__/membershipEntry.component.spec.tsx index 1b7a8c6d3..7e259862b 100644 --- a/packages/webapp-libs/webapp-tenants/src/components/tenantMembersList/membershipEntry/__tests__/membershipEntry.component.spec.tsx +++ b/packages/webapp-libs/webapp-tenants/src/components/tenantMembersList/membershipEntry/__tests__/membershipEntry.component.spec.tsx @@ -53,5 +53,7 @@ describe('MembershipEntry: Component', () => { await userEvent.click(screen.getByRole('button', { name: /Change role/i })); await userEvent.click(screen.getByRole('button', { name: /Member/i })); expect(requestMock.newData).toHaveBeenCalled(); + const toast = await screen.findByTestId('toast-1'); + expect(toast).toHaveTextContent('🎉 The user role was updated successfully!'); }); });