Gets the submenu associated with this menu item, or null if none.
()
| 206 | |
| 207 | /** Gets the submenu associated with this menu item, or null if none. */ |
| 208 | async getSubmenu(): Promise<MatMenuHarness | null> { |
| 209 | if (await this.hasSubmenu()) { |
| 210 | return new MatMenuHarness(this.locatorFactory); |
| 211 | } |
| 212 | return null; |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | export async function clickItemImplementation( |
no test coverage detected