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:
parent
583eb63e75
commit
00d2087737
@ -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(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user