Left Panel Menu (aka Case Worker Menu)
Left panel menu widget (leftPanelMenu
, alias caseWorkerMenu
) could be expanded (visible) or collapsed (represented by icons only). In the latest Pega versions menu is collapsed by default, and you need to expand it before case creation or any other manipulation:
await pega.leftPanelMenu.expand();
Available methods
Name | Parameter(s) | Type | Description |
---|---|---|---|
expand | expectedMenuItem string ("Create" by default) | Expands left panel menu. Expects a Create menu item to be visible after expansion but could be replaced by any other value | |
createNewCase | string , {}? | Creates a new case with a given case name | |
selectItem | string , {}? | Clicks a given menu item element | |
search | string , {}? | Sets a given value in the search field and clicks Enter key |