MCPcopy
hub / github.com/aidenybai/react-grab / openEditPanel

Function openEditPanel

packages/react-grab/e2e/edit-panel-helpers.ts:563–572  ·  view source on GitHub ↗
(
  reactGrab: ReactGrabPageObject,
  selector: string,
)

Source from the content-addressed store, hash-verified

561};
562
563export const openEditPanel = async (
564 reactGrab: ReactGrabPageObject,
565 selector: string,
566): Promise<void> => {
567 await reactGrab.activate();
568 await reactGrab.hoverUntilSelected(selector);
569 await reactGrab.rightClickElement(selector);
570 await reactGrab.clickContextMenuItem("Style");
571 await expect.poll(() => isEditPanelVisible(reactGrab.page)).toBe(true);
572};

Calls 1

isEditPanelVisibleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…