Skip to content

Commit

Permalink
smoketest: go-to-definition is flaky
Browse files Browse the repository at this point in the history
fixes #50944
fixes #49107
  • Loading branch information
joaomoreno committed Jun 1, 2018
1 parent 30317e9 commit 49b0294
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/smoke/src/areas/editor/editor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@ export function setup() {
const app = this.app as Application;
await app.workbench.quickopen.openFile('app.js');

await app.workbench.editor.gotoDefinition('app.js', 'express', 11);
await app.workbench.editor.gotoDefinition('app.js', 'app', 14);

await app.workbench.editors.waitForActiveTab('index.d.ts');
await app.workbench.editor.waitForHighlightingLine('app.js', 11);
});

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

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

await peek.waitForFile('index.d.ts');
await peek.waitForFile('app.js');
});
});
}

0 comments on commit 49b0294

Please sign in to comment.