MCPcopy Create free account
hub / github.com/DustinBrett/daedalOS / windowTitlebarTextIsVisible

Function windowTitlebarTextIsVisible

e2e/functions.ts:794–802  ·  view source on GitHub ↗
(
  text: RegExp | string,
  { page }: TestProps
)

Source from the content-addressed store, hash-verified

792
793// expect->locator->getBy->toPass
794export 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
805const entriesAreVisible = async (selector: string, page: Page): Promise<void> =>

Callers 5

Terminal.spec.tsFile · 0.90
Apps.spec.tsFile · 0.90
Window.spec.tsFile · 0.90
appIsOpenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected