Skip to content

Commit

Permalink
test: ignore cert invalid.
Browse files Browse the repository at this point in the history
  • Loading branch information
morganney committed Jan 16, 2024
1 parent 39a3099 commit 28b5aea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/basic.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { test, expect } from '@playwright/test'

test('has title', async ({ page }) => {
test('has title', async ({ browser }) => {
const ctx = await browser.newContext({ ignoreHTTPSErrors: true })
const page = await ctx.newPage()

await page.goto('/')
await expect(page).toHaveTitle(/Busmap/)
})

0 comments on commit 28b5aea

Please sign in to comment.