Skip to content

Commit

Permalink
remove smoke test for find ref, rename, goto, and peek, #85377
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 22, 2019
1 parent c8dd9fc commit 266f780
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions test/smoke/src/areas/editor/editor.test.ts
Expand Up @@ -15,24 +15,6 @@ export function setup() {
await app.workbench.quickopen.waitForQuickOpenElements(names => names.length >= 6);
});

it(`finds 'All References' to 'app'`, async function () {
const app = this.app as Application;
await app.workbench.quickopen.openFile('www');

const references = await app.workbench.editor.findReferences('www', 'app', 7);

await references.waitForReferencesCountInTitle(3);
await references.waitForReferencesCount(3);
await references.close();
});

it(`renames local 'app' variable`, async function () {
const app = this.app as Application;
await app.workbench.quickopen.openFile('www');
await app.workbench.editor.rename('www', 7, 'app', 'newApp');
await app.workbench.editor.waitForEditorContents('www', contents => contents.indexOf('newApp') > -1);
});

// it('folds/unfolds the code correctly', async function () {
// await app.workbench.quickopen.openFile('www');

Expand All @@ -48,23 +30,5 @@ export function setup() {
// await app.workbench.editor.waitUntilShown(4);
// await app.workbench.editor.waitUntilShown(5);
// });

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

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

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', 'app', 14);

await peek.waitForFile('app.js');
});
});
}

0 comments on commit 266f780

Please sign in to comment.