test: use alert selector on role and user delete error
This commit is contained in:

committed by
kasia.oczkowska

parent
112baad65f
commit
a82dff5c79
@@ -9,6 +9,7 @@ export class DeleteRoleModal {
|
||||
this.modal = page.getByTestId('delete-role-modal');
|
||||
this.cancelButton = this.modal.getByTestId('confirmation-cancel-button');
|
||||
this.deleteButton = this.modal.getByTestId('confirmation-confirm-button');
|
||||
this.deleteAlert = this.modal.getByTestId('confirmation-dialog-error-alert');
|
||||
}
|
||||
|
||||
async close () {
|
||||
|
Reference in New Issue
Block a user