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 b7c2dff8eb - Show all commits

View File

@ -24,6 +24,9 @@ test('cox can create and delete trip', async ({ page }) => {
await expect(page.locator('body')).toContainText('Erfolgreich gelöscht!'); await expect(page.locator('body')).toContainText('Erfolgreich gelöscht!');
}); });
// TODO: group -> cox can create trips
// TODO: cox can help/register at trips/events
test.describe('cox can edit trips', () => { test.describe('cox can edit trips', () => {
let sharedPage: Page; let sharedPage: Page;
@ -112,4 +115,6 @@ test.describe('cox can edit trips', () => {
await sharedPage.getByRole('link', { name: 'Termin löschen' }).click(); await sharedPage.getByRole('link', { name: 'Termin löschen' }).click();
await sharedPage.close(); await sharedPage.close();
}); });
// TODO: 'Immer anzeigen' (also verify the functionality), 'Gesperrt' + type
}); });