fixes #78384
This commit is contained in:
parent
937c637e04
commit
0fae04b8a2
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ import { Editor } from './editor';
|
||||||
import { IElement } from '../src/driver';
|
import { IElement } from '../src/driver';
|
||||||
|
|
||||||
const VIEWLET = 'div[id="workbench.view.debug"]';
|
const VIEWLET = 'div[id="workbench.view.debug"]';
|
||||||
const DEBUG_VIEW = `${VIEWLET} .debug-view-content`;
|
const DEBUG_VIEW = `${VIEWLET}`;
|
||||||
const CONFIGURE = `div[id="workbench.parts.sidebar"] .actions-container .codicon-gear`;
|
const CONFIGURE = `div[id="workbench.parts.sidebar"] .actions-container .codicon-gear`;
|
||||||
const STOP = `.debug-toolbar .action-label[title*="Stop"]`;
|
const STOP = `.debug-toolbar .action-label[title*="Stop"]`;
|
||||||
const STEP_OVER = `.debug-toolbar .action-label[title*="Step Over"]`;
|
const STEP_OVER = `.debug-toolbar .action-label[title*="Step Over"]`;
|
||||||
|
|
|
@ -17,7 +17,7 @@ export function setup() {
|
||||||
|
|
||||||
await app.workbench.debug.openDebugViewlet();
|
await app.workbench.debug.openDebugViewlet();
|
||||||
await app.workbench.quickopen.openFile('app.js');
|
await app.workbench.quickopen.openFile('app.js');
|
||||||
await app.workbench.debug.configure();
|
await app.workbench.quickopen.runCommand('Debug: Open launch.json');
|
||||||
|
|
||||||
const launchJsonPath = path.join(app.workspacePathOrFolder, '.vscode', 'launch.json');
|
const launchJsonPath = path.join(app.workspacePathOrFolder, '.vscode', 'launch.json');
|
||||||
const content = fs.readFileSync(launchJsonPath, 'utf8');
|
const content = fs.readFileSync(launchJsonPath, 'utf8');
|
||||||
|
|
Loading…
Reference in a new issue