|
|
|
@ -66,7 +66,7 @@ test.describe('User roles', () => {
|
|
|
|
|
test('Invite user, update role and delete user', async () => { |
|
|
|
|
test.slow(); |
|
|
|
|
|
|
|
|
|
await accountUsersPage.goto({ waitForResponse: false }); |
|
|
|
|
await accountUsersPage.goto({ waitForResponse: true }); |
|
|
|
|
|
|
|
|
|
// invite user
|
|
|
|
|
for (let i = 0; i < roleDb.length; i++) { |
|
|
|
@ -78,7 +78,7 @@ test.describe('User roles', () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
await signupAndVerify(0); |
|
|
|
|
await accountUsersPage.goto({ waitForResponse: false }); |
|
|
|
|
await accountUsersPage.goto({ waitForResponse: true }); |
|
|
|
|
await signupAndVerify(1); |
|
|
|
|
|
|
|
|
|
await dashboard.signOut(); |
|
|
|
@ -88,7 +88,7 @@ test.describe('User roles', () => {
|
|
|
|
|
withoutPrefix: true, |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
await accountUsersPage.goto({ waitForResponse: false }); |
|
|
|
|
await accountUsersPage.goto({ waitForResponse: true }); |
|
|
|
|
// change role
|
|
|
|
|
for (let i = 0; i < roleDb.length; i++) { |
|
|
|
|
await accountUsersPage.updateRole({ |
|
|
|
|