Skip to content

Commit

Permalink
test(portal-e2e): fix page title assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
MFarabi619 committed Dec 14, 2024
1 parent d7f913d commit 1746865
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/portal-e2e/src/portal.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,5 @@ lighthouseTest('should pass lighthouse audits', async ({ page, port }) => {

test('has title', async ({ page }) => {
await page.goto('/')

// Expect h1 to contain a substring.
expect(await page.locator('h1').textContent()).toContain('Sponsorship')
await expect(page).toHaveTitle(/.*cuHacking/)
})

0 comments on commit 1746865

Please sign in to comment.