From 2561955280f94a02a470f5b1dbb6efaa1ce7bb83 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Tue, 21 Apr 2020 08:57:53 +0200 Subject: [PATCH] fix smoketest --- test/automation/src/search.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/automation/src/search.ts b/test/automation/src/search.ts index 85df377e2e7..eaeda7819b9 100644 --- a/test/automation/src/search.ts +++ b/test/automation/src/search.ts @@ -74,12 +74,12 @@ export class Search extends Viewlet { await retry( () => this.code.waitAndClick(fileMatch), - () => this.code.waitForElement(`${fileMatch} .action-label.codicon.search-remove`, el => !!el && el.top > 0 && el.left > 0, 10) + () => this.code.waitForElement(`${fileMatch} .action-label.codicon-search-remove`, el => !!el && el.top > 0 && el.left > 0, 10) ); // ¯\_(ツ)_/¯ await new Promise(c => setTimeout(c, 500)); - await this.code.waitAndClick(`${fileMatch} .action-label.codicon.search-remove`); + await this.code.waitAndClick(`${fileMatch} .action-label.codicon-search-remove`); await this.code.waitForElement(fileMatch, el => !el); } -- GitLab