From d8ca380edf6a1d50bd8249cd165a6f5c497f25b1 Mon Sep 17 00:00:00 2001 From: HRN Date: Fri, 30 Aug 2024 10:52:17 +0200 Subject: [PATCH] removed office tests --- tests/test.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/test.ts b/tests/test.ts index ec106d9..bddc928 100644 --- a/tests/test.ts +++ b/tests/test.ts @@ -9,17 +9,3 @@ test('index page has expected h2', async ({ page }) => { await page.goto('/'); expect(await page.textContent('h2')).toBe('1. Enter your details'); }); - -test('office', async ({ page }) => { - await page.goto('/'); - - await page.selectOption('[aria-label="office"]', 'Göteborg'); - expect(await page.textContent('#other-office-memo')).toContain( - 'Psst, du vet väl att vi finns i Stockholm också?' - ); - - await page.selectOption('[aria-label="office"]', 'Stockholm'); - expect(await page.textContent('#other-office-memo')).toContain( - 'Psst, du vet väl att vi finns i Göteborg också?' - ); -});