Skip to content

Commit

Permalink
fix e2e-test
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Sep 11, 2024
1 parent c54e112 commit 568144b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-test/models/Login.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class Login {
}

async assertNickname(expected) {
return expect(this.page.locator('.v-navigation-drawer__content #right-panel-user-login .v-list-item-title')).toHaveText(expected)
return await expect(this.page.locator('.v-navigation-drawer__content #right-panel-user-login .v-list-item-title')).toContainText(expected)
}

}

0 comments on commit 568144b

Please sign in to comment.