Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 12, 2024
1 parent 0cbd274 commit 4ed1ded
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/vue-query/.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ function runTest() {
const body = await page.textContent('body')
expect(body).toContain(fetchedText)
})

test('Navigation', async () => {
await page.click('a[href="/about"]')
await page.click('a[href="/"]')
await testCounter()
})
}

async function testCounter() {
Expand Down

0 comments on commit 4ed1ded

Please sign in to comment.