test: use new alert in create role and create user tests
This commit is contained in:

committed by
kasia.oczkowska

parent
7a8dc68592
commit
53d95366e9
@@ -33,10 +33,7 @@ publicTest.describe('My Profile', () => {
|
||||
.getByRole('option', { name: 'Admin' })
|
||||
.click();
|
||||
await adminCreateUserPage.createButton.click();
|
||||
const snackbar = await adminUsersPage.getSnackbarData(
|
||||
'snackbar-create-user-success'
|
||||
);
|
||||
await expect(snackbar.variant).toBe('success');
|
||||
await adminCreateUserPage.expectCreateUserSuccessAlertToBeVisible();
|
||||
});
|
||||
|
||||
await publicTest.step('copy invitation link', async () => {
|
||||
|
Reference in New Issue
Block a user