MCPcopy Index your code
hub / github.com/tinyplex/tinybase / expectProperty

Function expectProperty

test/e2e/common.ts:82–92  ·  view source on GitHub ↗
(
  element: Locator,
  property: string,
  value: string | boolean,
)

Source from the content-addressed store, hash-verified

80};
81
82export const expectProperty = async (
83 element: Locator,
84 property: string,
85 value: string | boolean,
86): Promise<void> => {
87 const propValue = await element.evaluate(
88 (el: any, prop) => el[prop],
89 property,
90 );
91 expect(propValue).toEqual(value);
92};
93
94export const expectNoFramedElement = async (
95 page: Page,

Callers 5

todo-app.test.tsFile · 0.90
exerciseCountriesDemoFunction · 0.90

Calls

no outgoing calls

Tested by 1

exerciseCountriesDemoFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…