Include frontend tests, update readme, fix bugs #163

Merged
philipp merged 20 commits from test-playwright into staging 2024-01-16 23:44:04 +01:00
Showing only changes of commit 80846e6986 - Show all commits

View File

@ -57,7 +57,8 @@ test.describe('cox can edit trips', () => {
await sharedPage.getByRole('link', { name: 'Geplante Ausfahrten' }).click();
await sharedPage.getByRole('link', { name: 'Details' }).click();
await expect(sharedPage.locator('#sidebar')).toContainText('Meine Anmerkung');
await sharedPage.locator('.sidebar-overlay').click();
await sharedPage.getByRole('button', { name: 'Ausfahrt erstellen schließen' }).click();
});
test('add and remove guest', async () => {
@ -79,7 +80,7 @@ test.describe('cox can edit trips', () => {
await expect(sharedPage.locator('#sidebar')).toContainText('Keine Ruderer angemeldet');
await expect(sharedPage.getByRole('link', { name: 'Termin löschen' })).toBeVisible();
await sharedPage.locator('.sidebar-overlay').click();
await sharedPage.getByRole('button', { name: 'Ausfahrt erstellen schließen' }).click();
});
test('change amount rower', async () => {