@@ -1070,10 +1070,10 @@ describe('when logged in', () => {
10701070
10711071 test (' importance can be changed' , async ({ page }) => {
10721072 const otherNoteText = await page .getByText (' second note' ) // highlight-line
1073- const otherdNoteElement = await otherNoteText .locator (' ..' )
1073+ const otherNoteElement = await otherNoteText .locator (' ..' )
10741074
1075- await otherdNoteElement .getByRole (' button' , { name: ' make not important' }).click ()
1076- await expect (otherdNoteElement .getByText (' make important' )).toBeVisible ()
1075+ await otherNoteElement .getByRole (' button' , { name: ' make not important' }).click ()
1076+ await expect (otherNoteElement .getByText (' make important' )).toBeVisible ()
10771077 })
10781078 })
10791079})
@@ -1118,10 +1118,10 @@ describe('Note app', () => {
11181118 test (' one of those can be made nonimportant' , async ({ page }) => {
11191119 await page .pause () // highlight-line
11201120 const otherNoteText = await page .getByText (' second note' )
1121- const otherdNoteElement = await otherNoteText .locator (' ..' )
1121+ const otherNoteElement = await otherNoteText .locator (' ..' )
11221122
1123- await otherdNoteElement .getByRole (' button' , { name: ' make not important' }).click ()
1124- await expect (otherdNoteElement .getByText (' make important' )).toBeVisible ()
1123+ await otherNoteElement .getByRole (' button' , { name: ' make not important' }).click ()
1124+ await expect (otherNoteElement .getByText (' make important' )).toBeVisible ()
11251125 })
11261126 })
11271127 })
0 commit comments