File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed
smoke/src/areas/statusbar Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,6 @@ export class Editor {
51
51
return peek ;
52
52
}
53
53
54
- async waitForHighlightingLine ( filename : string , line : number ) : Promise < void > {
55
- const currentLineIndex = await this . getViewLineIndex ( filename , line ) ;
56
- if ( currentLineIndex ) {
57
- await this . code . waitForElement ( `.monaco-editor .view-overlays>:nth-child(${ currentLineIndex } ) .current-line` ) ;
58
- return ;
59
- }
60
- throw new Error ( 'Cannot find line ' + line ) ;
61
- }
62
-
63
54
private async getSelector ( filename : string , term : string , line : number ) : Promise < string > {
64
55
const lineIndex = await this . getViewLineIndex ( filename , line ) ;
65
56
const classNames = await this . getClassSelectors ( filename , term , lineIndex ) ;
Original file line number Diff line number Diff line change @@ -65,18 +65,6 @@ export function setup(opts: minimist.ParsedArgs) {
65
65
await app . workbench . problems . waitForProblemsView ( ) ;
66
66
} ) ;
67
67
68
- it ( `checks if 'Go to Line' works if called from the status bar` , async function ( ) {
69
- const app = this . app as Application ;
70
-
71
- await app . workbench . quickaccess . openFile ( 'app.js' ) ;
72
- await app . workbench . statusbar . clickOn ( StatusBarElement . SELECTION_STATUS ) ;
73
-
74
- await app . workbench . quickinput . waitForQuickInputOpened ( ) ;
75
-
76
- await app . workbench . quickinput . submit ( ':15' ) ;
77
- await app . workbench . editor . waitForHighlightingLine ( 'app.js' , 15 ) ;
78
- } ) ;
79
-
80
68
it ( `verifies if changing EOL is reflected in the status bar` , async function ( ) {
81
69
const app = this . app as Application ;
82
70
You can’t perform that action at this time.
0 commit comments