1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

fix: update notifications e2e specs

This commit is contained in:
Tymoteusz Czech 2023-03-28 14:26:51 +02:00
parent 583eb63e75
commit 00d2087737
No known key found for this signature in database
GPG Key ID: 133555230D88D75F

View File

@ -50,7 +50,7 @@ const updateUserPassword = (id: number) =>
} }
); );
const addUserToProject = async (id: number) => { const addUserToProject = (id: number) =>
cy.request( cy.request(
'POST', 'POST',
`${baseUrl}/api/admin/projects/${projectName}/role/${PROJECT_MEMBER}/access`, `${baseUrl}/api/admin/projects/${projectName}/role/${PROJECT_MEMBER}/access`,
@ -59,7 +59,6 @@ const addUserToProject = async (id: number) => {
users: [{ id }], users: [{ id }],
} }
); );
};
describe('notifications', () => { describe('notifications', () => {
before(() => { before(() => {