try
Some checks failed
CI/CD Pipeline / test-backend (push) Waiting to run
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test-frontend (push) Has been cancelled

This commit is contained in:
philipp 2024-01-16 23:22:53 +01:00
parent beec5ba6c6
commit 80846e6986

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: 'Geplante Ausfahrten' }).click();
await sharedPage.getByRole('link', { name: 'Details' }).click(); await sharedPage.getByRole('link', { name: 'Details' }).click();
await expect(sharedPage.locator('#sidebar')).toContainText('Meine Anmerkung'); 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 () => { 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.locator('#sidebar')).toContainText('Keine Ruderer angemeldet');
await expect(sharedPage.getByRole('link', { name: 'Termin löschen' })).toBeVisible(); 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 () => { test('change amount rower', async () => {