You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitapp.workbench.debug.focusStackFrame('index.js','looking for index.js');
74
+
awaitapp.workbench.debug.waitForVariableCount(4);
75
+
});
76
76
77
-
// it('stepOver, stepIn, stepOut', async function () {
78
-
// const app = this.app as Application;
77
+
it('stepOver, stepIn, stepOut',asyncfunction(){
78
+
constapp=this.appasApplication;
79
79
80
-
// await app.workbench.debug.stepIn();
80
+
awaitapp.workbench.debug.stepIn();
81
81
82
-
// const first = await app.workbench.debug.waitForStackFrame(sf => sf.name === 'response.js', 'looking for response.js');
83
-
// await app.workbench.debug.stepOver();
82
+
constfirst=awaitapp.workbench.debug.waitForStackFrame(sf=>sf.name==='response.js','looking for response.js');
83
+
awaitapp.workbench.debug.stepOver();
84
84
85
-
// await app.workbench.debug.waitForStackFrame(sf => sf.name === 'response.js' && sf.lineNumber === first.lineNumber + 1, `looking for response.js and line ${first.lineNumber + 1}`);
86
-
// await app.workbench.debug.stepOut();
85
+
awaitapp.workbench.debug.waitForStackFrame(sf=>sf.name==='response.js'&&sf.lineNumber===first.lineNumber+1,`looking for response.js and line ${first.lineNumber+1}`);
86
+
awaitapp.workbench.debug.stepOut();
87
87
88
-
// await app.workbench.debug.waitForStackFrame(sf => sf.name === 'index.js' && sf.lineNumber === 7, `looking for index.js and line 7`);
89
-
// });
88
+
awaitapp.workbench.debug.waitForStackFrame(sf=>sf.name==='index.js'&&sf.lineNumber===7,`looking for index.js and line 7`);
0 commit comments