selenium: Delete invisible unicode characters

Bug: T300386
Change-Id: I7c5db54247dc5b4566996afcbfab70b5fd4696a8
This commit is contained in:
osamaahmed17 2022-01-29 03:50:09 +11:00 committed by Kosta Harlan
parent 87771e2d23
commit 020b44c43a

View file

@ -54,7 +54,7 @@ describe( 'Echo', function () {
await EchoPage.notices.click();
await EchoPage.alertMessage.waitForDisplayed();
const regexp = /Welcome to .*, .*! We're glad you're here./;
const regexp = /Welcome to .*, .*! We're glad you're here./;
assert( regexp.test( await EchoPage.alertMessage.getText() ) );
} );