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å?' - ); -});