Skip to content

Commit d9c1d91

Browse files
committed
Update recommendations-page.ts
Add assert message
1 parent 0aabc97 commit d9c1d91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/e2e/pageObjects/recommendations-page.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ export class RecommendationsPage {
2424
async verifyVoteDisabled(): Promise<void>{
2525
// Verify that user can rate recommendations with one of 3 existing types at the same time
2626
await t.expect(this.veryUsefulVoteBtn
27-
.hasAttribute('disabled')).ok();
27+
.hasAttribute('disabled')).ok('very useful vote button is not disabled');
2828
await t.expect(this.usefulVoteBtn
29-
.hasAttribute('disabled')).ok();
29+
.hasAttribute('disabled')).ok('useful vote button is not disabled');
3030
await t.expect(this.notUsefulVoteBtn
31-
.hasAttribute('disabled')).ok();
31+
.hasAttribute('disabled')).ok('not useful vote button is not disabled');
3232
}
3333
}

0 commit comments

Comments
 (0)