import { BottomBarPanel , ProblemsView } from "vscode-extension-tester" ; export class BottomBarPageObject { private _bottomBar : BottomBarPanel ; public get bottomBar ( ) : any { if ( ! this . _bottomBar ) { this . _bottomBar = new BottomBarPanel ( ) ; } return this . _bottomBar ; } async captureView ( viewTitle ) { await this . _bottomBar . toggle ( true ) ; const view = await this . bottomBar . openProblemsView ( ) ; } }