Skip to content

Commit 28afbe1

Browse files
committed
04/03: update instruction
1 parent 482bd5f commit 28afbe1

File tree

1 file changed

+1
-1
lines changed
  • exercises/04.debugging/03.problem.live-debugging

1 file changed

+1
-1
lines changed

exercises/04.debugging/03.problem.live-debugging/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Try running end-to-end tests now. Looks like the `logout.test.ts` is failing bec
1111
🐨 Now, it's time to break the failing test into steps (or breakpoints!). Right-click the gutter next to the action that clicks on the user menu and select the "Add Breakpoint" option from the context menu. This will add a breakpoint on that line, stopping the test execution when it reaches it.
1212

1313
```ts
14-
await userMenu.click()
14+
await page.getByRole('link', { name: user.name! }).click()
1515
```
1616

1717
🐨 In a similar way, add another breakpoint right when the test is clicking on the "Logout" link over here:

0 commit comments

Comments
 (0)