Skip to content

Commit 7a5baba

Browse files
committed
Fix replace smoketest
Fix microsoft#97120
1 parent 0198201 commit 7a5baba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/automation/src/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class Search extends Viewlet {
114114
}
115115

116116
async waitForNoResultText(): Promise<void> {
117-
await this.code.waitForElement(`${VIEWLET} .messages[aria-hidden="true"] .message>span`);
117+
await this.code.waitForTextContent(`${VIEWLET} .messages`, '');
118118
}
119119

120120
private async waitForInputFocus(selector: string): Promise<void> {

0 commit comments

Comments
 (0)