(driver: WebDriver, text: string)
| 875 | |
| 876 | const session = await startFirefoxSession(); |
| 877 | |
| 878 | try { |
| 879 | await run(session); |
| 880 | } finally { |
| 881 | await session.close(); |
| 882 | } |
| 883 | }; |
| 884 | |
| 885 | const openAuthenticatedPanel = async (session: FirefoxSession): Promise<void> => { |
| 886 | await session.openSidePanel(); |
| 887 | await seedFirefoxAuth(session.driver); |
| 888 | await session.driver.navigate().refresh(); |
| 889 | await waitForText(session.driver, 'Kilo'); |
| 890 | }; |
no test coverage detected