From 24da7d88a69dcfca77aa8f56d70d59545cb0f177 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Thu, 12 Apr 2018 11:42:32 +0200 Subject: [PATCH] smoketest: fix openFile --- test/smoke/src/areas/quickopen/quickopen.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smoke/src/areas/quickopen/quickopen.ts b/test/smoke/src/areas/quickopen/quickopen.ts index 35cc55464ff..b79788d17d2 100644 --- a/test/smoke/src/areas/quickopen/quickopen.ts +++ b/test/smoke/src/areas/quickopen/quickopen.ts @@ -35,7 +35,7 @@ export class QuickOpen { async openFile(fileName: string): Promise { await this.openQuickOpen(fileName); - await this.waitForQuickOpenElements(names => names.some(n => n === fileName)); + await this.waitForQuickOpenElements(names => names[0] === fileName); await this.code.dispatchKeybinding('enter'); await this.editors.waitForActiveTab(fileName); await this.editors.waitForEditorFocus(fileName);