From 7da792ae7cb53ee5a22b24016bca5dee31f43d41 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Fri, 6 May 2022 12:09:31 -0700 Subject: [PATCH] Reenable smoke test Fixes #137195 --- test/smoke/src/areas/search/search.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/smoke/src/areas/search/search.test.ts b/test/smoke/src/areas/search/search.test.ts index fa61fcd65b8..d544cdde350 100644 --- a/test/smoke/src/areas/search/search.test.ts +++ b/test/smoke/src/areas/search/search.test.ts @@ -46,14 +46,14 @@ export function setup(logger: Logger) { await app.workbench.search.removeFileMatch('app.js', '2 results in 2 files'); }); - it.skip('replaces first search result with a replace term', async function () { // TODo@roblourens https://github.com/microsoft/vscode/issues/137195 + it('replaces first search result with a replace term', async function () { const app = this.app as Application; await app.workbench.search.searchFor('body'); await app.workbench.search.waitForResultText('6 results in 3 files'); await app.workbench.search.expandReplace(); await app.workbench.search.setReplaceText('ydob'); - await app.workbench.search.replaceFileMatch('app.js', '12 results in 4 files'); + await app.workbench.search.replaceFileMatch('app.js', '2 results in 2 files'); await app.workbench.search.searchFor('ydob'); await app.workbench.search.waitForResultText('4 results in 1 file');