From 583eb63e758a0aae30e064da89e2f2134b8e54fe Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Tue, 28 Mar 2023 14:25:33 +0200 Subject: [PATCH] fix e2e notifications specs setup --- frontend/cypress/integration/projects/notifications.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/cypress/integration/projects/notifications.spec.ts b/frontend/cypress/integration/projects/notifications.spec.ts index 78158b9063..58075122b2 100644 --- a/frontend/cypress/integration/projects/notifications.spec.ts +++ b/frontend/cypress/integration/projects/notifications.spec.ts @@ -41,7 +41,7 @@ const createUser = () => { }); }; -const updateUserPassword = async (id: number) => { +const updateUserPassword = (id: number) => cy.request( 'POST', `${baseUrl}/api/admin/user-admin/${id}/change-password`, @@ -49,7 +49,6 @@ const updateUserPassword = async (id: number) => { password, } ); -}; const addUserToProject = async (id: number) => { cy.request(