Skip to content

Commit 42b1b0b

Browse files
committed
01/03: align solution with the video
1 parent 7d99297 commit 42b1b0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exercises/01.fundamentals/03.solution.custom-fixtures/tests/e2e/homepage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '#tests/test-extend.ts'
22

3-
test('displays the welcome heading', async ({ navigate, page }) => {
3+
test('displays the welcome heading', async ({ page, navigate }) => {
44
await navigate('/')
55

66
await expect(

exercises/01.fundamentals/03.solution.custom-fixtures/tests/test-extend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface Fixtures {
88
}
99

1010
export const test = testBase.extend<Fixtures>({
11-
async navigate({ page }, use) {
11+
navigate: async ({ page }, use) => {
1212
await use(async (...args) => {
1313
await page.goto(href(...args))
1414
})

0 commit comments

Comments
 (0)