(
count: number,
{ page }: TestProps
)
| 430 | |
| 431 | // expect->locator->toHave |
| 432 | export const contextMenuHasCount = async ( |
| 433 | count: number, |
| 434 | { page }: TestProps |
| 435 | ): Promise<void> => |
| 436 | expect( |
| 437 | page |
| 438 | .locator(CONTEXT_MENU_ENTRIES_SELECTOR) |
| 439 | .filter({ hasNot: page.locator("hr") }) |
| 440 | ).toHaveCount(count); |
| 441 | |
| 442 | export const pageHasIcon = async ( |
| 443 | icon: RegExp, |
no test coverage detected