Skip to content

Commit 5b2e81d

Browse files
committed
smoke: remove flakyness from search smoke tests
fixes microsoft#51137
1 parent 54298e2 commit 5b2e81d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/smoke/src/areas/search/search.ts

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

5555
async removeFileMatch(index: number): Promise<void> {
56-
await this.code.waitAndMove(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch`);
56+
await this.code.waitAndClick(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch`);
5757
const file = await this.code.waitForTextContent(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch a.label-name`);
5858
await this.code.waitAndClick(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch .action-label.icon.action-remove`);
5959
await this.code.waitForTextContent(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch a.label-name`, void 0, result => result !== file);

0 commit comments

Comments
 (0)