MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / reactSelectOption

Function reactSelectOption

console/e2e-tests/platform.spec.ts:70–74  ·  view source on GitHub ↗
(page: Page, elementId: string, value: string)

Source from the content-addressed store, hash-verified

68}
69
70async function reactSelectOption(page: Page, elementId: string, value: string) {
71 await page.click(`#${elementId}`);
72 await page.waitForSelector(`#${elementId} .custom-option`);
73 await page.click(`#${elementId} .custom-option :has-text("${value}")`);
74}
75
76const TEST_TIMEOUT = 30 * 60 * 1000;
77const ENABLE_REGION_TIMEOUT = 60 * 1000;

Callers 1

platform.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected