test: use alert selector on role and user delete error

This commit is contained in:
Jakub P.
2024-12-10 19:57:28 +01:00
committed by kasia.oczkowska
parent 112baad65f
commit a82dff5c79
2 changed files with 3 additions and 16 deletions

View File

@@ -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 () {