Function
reactSelectOption
(page: Page, elementId: string, value: string)
Source from the content-addressed store, hash-verified
| 68 | } |
| 69 | |
| 70 | async 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 | |
| 76 | const TEST_TIMEOUT = 30 * 60 * 1000; |
| 77 | const ENABLE_REGION_TIMEOUT = 60 * 1000; |
Tested by
no test coverage detected