ActionsControl - redhat-developer/vscode-extension-tester GitHub Wiki
Look up the ActionsControl by title
Import and find the control through activity bar
import { ActivityBar, ActionsControl } from 'vscode-extension-tester';
...
// get actions control for 'Manage'
const control: ActionsControl = new ActivityBar().getGlobalAction('Manage');
Open action menu
Click the action control to open its context menu
const menu = await control.openActionMenu();
Get title
Get the control's title
const title = control.getTitle();
Open context menu
Left click on the control to open the context menu (in this case has the same effect as openActionMenu)
const menu = await control.openContextMenu();