@@ -15,24 +15,6 @@ export function setup() {
1515 await app . workbench . quickopen . waitForQuickOpenElements ( names => names . length >= 6 ) ;
1616 } ) ;
1717
18- it ( `finds 'All References' to 'app'` , async function ( ) {
19- const app = this . app as Application ;
20- await app . workbench . quickopen . openFile ( 'www' ) ;
21-
22- const references = await app . workbench . editor . findReferences ( 'www' , 'app' , 7 ) ;
23-
24- await references . waitForReferencesCountInTitle ( 3 ) ;
25- await references . waitForReferencesCount ( 3 ) ;
26- await references . close ( ) ;
27- } ) ;
28-
29- it ( `renames local 'app' variable` , async function ( ) {
30- const app = this . app as Application ;
31- await app . workbench . quickopen . openFile ( 'www' ) ;
32- await app . workbench . editor . rename ( 'www' , 7 , 'app' , 'newApp' ) ;
33- await app . workbench . editor . waitForEditorContents ( 'www' , contents => contents . indexOf ( 'newApp' ) > - 1 ) ;
34- } ) ;
35-
3618 // it('folds/unfolds the code correctly', async function () {
3719 // await app.workbench.quickopen.openFile('www');
3820
@@ -48,23 +30,5 @@ export function setup() {
4830 // await app.workbench.editor.waitUntilShown(4);
4931 // await app.workbench.editor.waitUntilShown(5);
5032 // });
51-
52- it ( `verifies that 'Go To Definition' works` , async function ( ) {
53- const app = this . app as Application ;
54- await app . workbench . quickopen . openFile ( 'app.js' ) ;
55-
56- await app . workbench . editor . gotoDefinition ( 'app.js' , 'app' , 14 ) ;
57-
58- await app . workbench . editor . waitForHighlightingLine ( 'app.js' , 11 ) ;
59- } ) ;
60-
61- it ( `verifies that 'Peek Definition' works` , async function ( ) {
62- const app = this . app as Application ;
63- await app . workbench . quickopen . openFile ( 'app.js' ) ;
64-
65- const peek = await app . workbench . editor . peekDefinition ( 'app.js' , 'app' , 14 ) ;
66-
67- await peek . waitForFile ( 'app.js' ) ;
68- } ) ;
6933 } ) ;
7034}
0 commit comments