Gets the menu panel associated with this menu.
()
| 133 | |
| 134 | /** Gets the menu panel associated with this menu. */ |
| 135 | private async _getMenuPanel(): Promise<TestElement | null> { |
| 136 | const panelId = await this._getPanelId(); |
| 137 | return panelId ? this._documentRootLocator.locatorForOptional(`#${panelId}`)() : null; |
| 138 | } |
| 139 | |
| 140 | /** Gets the id of the menu panel associated with this menu. */ |
| 141 | private async _getPanelId(): Promise<string | null> { |
no test coverage detected