( page: Page, selector: string, text?: string | RegExp, timeout = 5000, )
| 50 | }; |
| 51 | |
| 52 | export const expectedFramedSvgElement = async ( |
| 53 | page: Page, |
| 54 | selector: string, |
| 55 | text?: string | RegExp, |
| 56 | timeout = 5000, |
| 57 | ): Promise<Locator> => |
| 58 | expectedFramedElement(page, `svg ${selector}`, text, { |
| 59 | timeout, |
| 60 | state: 'attached', |
| 61 | }); |
| 62 | |
| 63 | export const expectedElement = async ( |
| 64 | page: Page, |
no test coverage detected
searching dependent graphs…