From 7a5baba094f696bd54e4ffbebf99d53ce6890728 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Thu, 7 May 2020 09:52:36 -0500 Subject: [PATCH] Fix replace smoketest Fix #97120 --- test/automation/src/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/automation/src/search.ts b/test/automation/src/search.ts index eaeda7819b9..962b489970f 100644 --- a/test/automation/src/search.ts +++ b/test/automation/src/search.ts @@ -114,7 +114,7 @@ export class Search extends Viewlet { } async waitForNoResultText(): Promise { - await this.code.waitForElement(`${VIEWLET} .messages[aria-hidden="true"] .message>span`); + await this.code.waitForTextContent(`${VIEWLET} .messages`, ''); } private async waitForInputFocus(selector: string): Promise {