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

Function clickStartMenuEntry

e2e/functions.ts:174–182  ·  view source on GitHub ↗
(
  label: RegExp | string,
  { page }: TestProps,
  right = false
)

Source from the content-addressed store, hash-verified

172 page.locator(START_BUTTON_SELECTOR).click(right ? RIGHT_CLICK : undefined);
173
174export const clickStartMenuEntry = async (
175 label: RegExp | string,
176 { page }: TestProps,
177 right = false
178): Promise<void> =>
179 page
180 .locator(START_MENU_SELECTOR)
181 .getByLabel(label, EXACT)
182 .click(right ? RIGHT_CLICK : undefined);
183
184export const clickTaskbar = async (
185 { page }: TestProps,

Callers 2

StartMenu.spec.tsFile · 0.90
startMenuContextIsOpenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected