(
text: RegExp | string,
{ page }: TestProps
)
| 792 | |
| 793 | // expect->locator->getBy->toPass |
| 794 | export const windowTitlebarTextIsVisible = async ( |
| 795 | text: RegExp | string, |
| 796 | { page }: TestProps |
| 797 | ): Promise<void> => |
| 798 | expect(async () => |
| 799 | expect( |
| 800 | page.locator(WINDOW_TITLEBAR_SELECTOR).getByText(text, EXACT) |
| 801 | ).toBeVisible() |
| 802 | ).toPass(); |
| 803 | |
| 804 | // expect->locator->first->toPass |
| 805 | const entriesAreVisible = async (selector: string, page: Page): Promise<void> => |
no outgoing calls
no test coverage detected