Add retries to onRender test

I've seen this flaky locally and in CI
This commit is contained in:
Daniel
2019-11-10 00:49:10 -08:00
parent 87d2015793
commit 2cde011397
+2 -1
View File
@@ -356,7 +356,8 @@ describe('API Integration Tests', function(): void {
await pollFor(page, `window.callCount`, 2);
});
it('onRender', async () => {
it('onRender', async function (): Promise<void> {
this.retries(3);
await openTerminal();
await timeout(20); // Ensure all init events are fired
await page.evaluate(`