test: Remove old employee test and add new tests
All checks were successful
Playwright Tests / test (pull_request) Successful in 2m42s

This commit is contained in:
Jan K9f 2025-01-17 13:55:25 +01:00
parent a6047e2720
commit bac1f3cfac
Signed by: jank
GPG key ID: 50620ADD22CD330B
3 changed files with 47 additions and 3 deletions

View file

@ -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);