test: Remove old employee test and add new tests
All checks were successful
Playwright Tests / test (pull_request) Successful in 2m42s
All checks were successful
Playwright Tests / test (pull_request) Successful in 2m42s
This commit is contained in:
parent
a6047e2720
commit
bac1f3cfac
3 changed files with 47 additions and 3 deletions
|
@ -70,9 +70,6 @@ test.describe('mitarbeiter', () => {
|
|||
|
||||
expect(page.url().includes('erstellen')).toBeFalsy();
|
||||
|
||||
const toBeDeletedEmployee = page.getByText('12345');
|
||||
await toBeDeletedEmployee.first().waitFor({ state: "visible" });
|
||||
await expect(toBeDeletedEmployee).toHaveCount(1);
|
||||
|
||||
const deleteButton = page.getByText('Delete').nth(2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue