MCPcopy Create free account
hub / github.com/hashintel/hash / chipLabel

Function chipLabel

tests/hash-playwright/tests/extension/browser-plugin.spec.ts:278–279  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

276 await openPopupTab(page, extensionId, "one-off");
277
278 const chipLabel = (name: string) =>
279 page.locator(".MuiChip-label").filter({ hasText: new RegExp(`^${name}$`) });
280 await expect(chipLabel("Actor")).toHaveCount(1);
281 await expect(chipLabel("Document")).toHaveCount(1);
282 await expect(chipLabel("Block")).toHaveCount(1);

Callers 1

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected