feat: add Playwright testing framework configuration and tests #71

Merged
jank merged 48 commits from feature/add-playwright into main 2025-01-17 13:34:52 +00:00
Showing only changes of commit 007a2f041b - Show all commits

View file

@ -34,4 +34,13 @@ test.describe('mitarbeiter', () => {
expect(page.url()).toContain('mitarbeiterbearbeiten');
expect(page.url()).toContain('1');
});
test('DeleteShouldRemoveUser', async ({page}) => {
const button = page.getByText('Delete').first();
await button.click();
const user = page.getByText('Max');
expect(user).toBeFalsy();
});
});