File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/e2e-tests/src/assert Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ class VotingCenterPageAssert {
7
7
async assertSeeVotingCenterBanner ( ) {
8
8
await VotingCenterPage . banner . waitForDisplayed ( ) ;
9
9
await VotingCenterPage . title . waitForDisplayed ( ) ;
10
- expect ( await VotingCenterPage . title . getText ( ) ) . to . be . eq ( await t ( 'browserView.voting-beta.modal.title' ) ) ;
10
+ expect ( await VotingCenterPage . title . getText ( ) ) . to . equal ( await t ( 'browserView.voting-beta.modal.title' ) ) ;
11
11
await VotingCenterPage . description . waitForDisplayed ( ) ;
12
12
const expectedDescriptionKey = ( await isPopupMode ( ) )
13
13
? 'browserView.voting-beta.modal.description-popup'
14
14
: 'browserView.voting-beta.modal.description' ;
15
15
const expectedDescription = ( await t ( expectedDescriptionKey ) ) . replaceAll ( '<br /><br />' , '\n\n' ) ;
16
- expect ( await VotingCenterPage . description . getProperty ( 'innerText' ) ) . to . be . eq ( expectedDescription ) ;
16
+ expect ( await VotingCenterPage . description . getProperty ( 'innerText' ) ) . to . equal ( expectedDescription ) ;
17
17
await VotingCenterPage . govToolButton . waitForClickable ( ) ;
18
- expect ( await VotingCenterPage . govToolButton . getText ( ) ) . to . be . eq ( await t ( 'browserView.voting-beta.modal.cta' ) ) ;
18
+ expect ( await VotingCenterPage . govToolButton . getText ( ) ) . to . equal ( await t ( 'browserView.voting-beta.modal.cta' ) ) ;
19
19
}
20
20
}
21
21
You can’t perform that action at this time.
0 commit comments