Skip to content

Commit

Permalink
tests: fix about ne test (lint)
Browse files Browse the repository at this point in the history
  • Loading branch information
YaelChen committed Nov 5, 2024
1 parent 93a9ab0 commit 26d109d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/about.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ test.describe('About Page Tests', () => {
})

test('clicking the links under "privacy" should lead to Google analytics', async ({ page }) => {
await page.goto('/');
await page.goto('/')
await page.getByText('אודות').click()
await page.getByRole('link', { name: 'Google Analytics' }).click();
await expect(page).toHaveURL("https://marketingplatform\.google\.com\/about\/analytics/")
await page.goto('/');
await page.getByRole('link', { name: 'Google Analytics' }).click()
await expect(page).toHaveURL('https://marketingplatform.google.com/about/analytics/')
await page.goto('/')
await page.getByText('אודות').click()
await page.getByRole('link', { name: 'קראו כאן' }).click();
await page.getByRole('link', { name: 'קראו כאן' }).click()
await expect(page).toHaveURL(/support\.google\.com\/analytics\/answer\/6004245\?hl=iw/)
});
})
})

0 comments on commit 26d109d

Please sign in to comment.