Skip to content

Commit 49b0294

Browse files
committed
smoketest: go-to-definition is flaky
fixes microsoft#50944 fixes microsoft#49107
1 parent 30317e9 commit 49b0294

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/smoke/src/areas/editor/editor.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ export function setup() {
5353
const app = this.app as Application;
5454
await app.workbench.quickopen.openFile('app.js');
5555

56-
await app.workbench.editor.gotoDefinition('app.js', 'express', 11);
56+
await app.workbench.editor.gotoDefinition('app.js', 'app', 14);
5757

58-
await app.workbench.editors.waitForActiveTab('index.d.ts');
58+
await app.workbench.editor.waitForHighlightingLine('app.js', 11);
5959
});
6060

6161
it(`verifies that 'Peek Definition' works`, async function () {
6262
const app = this.app as Application;
6363
await app.workbench.quickopen.openFile('app.js');
6464

65-
const peek = await app.workbench.editor.peekDefinition('app.js', 'express', 11);
65+
const peek = await app.workbench.editor.peekDefinition('app.js', 'app', 14);
6666

67-
await peek.waitForFile('index.d.ts');
67+
await peek.waitForFile('app.js');
6868
});
6969
});
7070
}

0 commit comments

Comments
 (0)