test: add wait for delete button visibility before click
All checks were successful
Playwright Tests / test (pull_request) Successful in 2m56s
All checks were successful
Playwright Tests / test (pull_request) Successful in 2m56s
This commit is contained in:
parent
bac1f3cfac
commit
b61e00e647
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ test.describe('mitarbeiter', () => {
|
|||
|
||||
const deleteButton = page.getByText('Delete').nth(2);
|
||||
|
||||
await deleteButton.waitFor({state: 'visible'});
|
||||
|
||||
await deleteButton.click();
|
||||
|
||||
const deletedEmployee = page.getByText('12345');
|
||||
|
|
Loading…
Add table
Reference in a new issue