ViewContent - redhat-developer/vscode-extension-tester GitHub Wiki

contentPart

Lookup

import { SideBarView } from 'vscode-extension-tester';
...
const contentPart = new SideBarView().getContent();

Get Sections

// get a section by title, case insensitive
const section = await contentPart.getSection("Open Editors");
// get all sections
const sections = await contentPart.getSections();

Progress Bar

// look if there is an active progress bar
const hasProgress = await contentPart.hasProgress();