Skip to content

Commit

Permalink
Merge pull request #95 from cyprus-developer-community/fix/e2e-test
Browse files Browse the repository at this point in the history
fix: e2e tests
  • Loading branch information
PatrickHeneise authored Apr 11, 2023
2 parents 7bc0fd9 + bbb8e92 commit 05b3178
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/events.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { test, expect } from '@playwright/test'

test.describe('Events', () => {
test.beforeEach(async ({ page }) => {
await page.goto('/events')
await page.goto('/')
await page.locator('header').getByRole('link', { name: 'Events' }).click()
})

test('should check the page title', async ({ page }) => {
Expand Down

0 comments on commit 05b3178

Please sign in to comment.