diff --git a/test/automation/src/editor.ts b/test/automation/src/editor.ts index dd564c9bd52..a3589724e3a 100644 --- a/test/automation/src/editor.ts +++ b/test/automation/src/editor.ts @@ -51,15 +51,6 @@ export class Editor { return peek; } - async waitForHighlightingLine(filename: string, line: number): Promise { - const currentLineIndex = await this.getViewLineIndex(filename, line); - if (currentLineIndex) { - await this.code.waitForElement(`.monaco-editor .view-overlays>:nth-child(${currentLineIndex}) .current-line`); - return; - } - throw new Error('Cannot find line ' + line); - } - private async getSelector(filename: string, term: string, line: number): Promise { const lineIndex = await this.getViewLineIndex(filename, line); const classNames = await this.getClassSelectors(filename, term, lineIndex); diff --git a/test/smoke/src/areas/statusbar/statusbar.test.ts b/test/smoke/src/areas/statusbar/statusbar.test.ts index 954cefedcc3..b59d8c3ce50 100644 --- a/test/smoke/src/areas/statusbar/statusbar.test.ts +++ b/test/smoke/src/areas/statusbar/statusbar.test.ts @@ -65,18 +65,6 @@ export function setup(opts: minimist.ParsedArgs) { await app.workbench.problems.waitForProblemsView(); }); - it(`checks if 'Go to Line' works if called from the status bar`, async function () { - const app = this.app as Application; - - await app.workbench.quickaccess.openFile('app.js'); - await app.workbench.statusbar.clickOn(StatusBarElement.SELECTION_STATUS); - - await app.workbench.quickinput.waitForQuickInputOpened(); - - await app.workbench.quickinput.submit(':15'); - await app.workbench.editor.waitForHighlightingLine('app.js', 15); - }); - it(`verifies if changing EOL is reflected in the status bar`, async function () { const app = this.app as Application;