From 5b2e81d8b2fc7b58064fa4f642f9645587bbe91b Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Tue, 5 Jun 2018 16:00:11 +0200 Subject: [PATCH] smoke: remove flakyness from search smoke tests fixes #51137 --- test/smoke/src/areas/search/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smoke/src/areas/search/search.ts b/test/smoke/src/areas/search/search.ts index b27d48f4b9e..4731d6da56a 100644 --- a/test/smoke/src/areas/search/search.ts +++ b/test/smoke/src/areas/search/search.ts @@ -53,7 +53,7 @@ export class Search extends Viewlet { } async removeFileMatch(index: number): Promise { - await this.code.waitAndMove(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch`); + await this.code.waitAndClick(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch`); const file = await this.code.waitForTextContent(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch a.label-name`); await this.code.waitAndClick(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch .action-label.icon.action-remove`); await this.code.waitForTextContent(`${VIEWLET} .results .monaco-tree-rows>:nth-child(${index}) .filematch a.label-name`, void 0, result => result !== file);