import { Application , Logger } from '../../../../automation' ; import { installAllHandlers } from '../../utils' ; export function setup ( logger ) { describe ( 'Extensions' , ( ) => { installAllHandlers ( logger ) ; it ( 'install and enable vscode-smoketest-check extension' , async function ( ) { const app = this . app as Application ; await app . workbench . extensions . openExtensionsViewlet ( ) ; await app . workbench . extensions . installExtension ( 'ms-vscode.vscode-smoketest-check' , true ) ; await app . workbench . extensions . closeExtension ( 'vscode-smoketest-check' ) ; await app . workbench . quickaccess . runCommand ( 'Smoke Test Check' ) ; } ) ; } ) ; }