@@ -1070,10 +1070,10 @@ describe('when logged in', () => {
1070
1070
1071
1071
test (' importance can be changed' , async ({ page }) => {
1072
1072
const otherNoteText = await page .getByText (' second note' ) // highlight-line
1073
- const otherdNoteElement = await otherNoteText .locator (' ..' )
1073
+ const otherNoteElement = await otherNoteText .locator (' ..' )
1074
1074
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 ()
1077
1077
})
1078
1078
})
1079
1079
})
@@ -1118,10 +1118,10 @@ describe('Note app', () => {
1118
1118
test (' one of those can be made nonimportant' , async ({ page }) => {
1119
1119
await page .pause () // highlight-line
1120
1120
const otherNoteText = await page .getByText (' second note' )
1121
- const otherdNoteElement = await otherNoteText .locator (' ..' )
1121
+ const otherNoteElement = await otherNoteText .locator (' ..' )
1122
1122
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 ()
1125
1125
})
1126
1126
})
1127
1127
})
0 commit comments