(elem: ElementFinder)
| 11 | await elem.click(); |
| 12 | }; |
| 13 | const waitForText = async (elem: ElementFinder) => { |
| 14 | // Waiting for the element to have some text, makes the tests less flaky. |
| 15 | await browser.wait(async () => /\S/.test(await elem.getText()), 5000); |
| 16 | }; |
| 17 | |
| 18 | beforeEach(() => browser.get('')); |
| 19 |
no test coverage detected