Improve e2e stability (#949)

This commit is contained in:
victor-meng
2021-07-21 16:22:31 -07:00
committed by GitHub
parent 6d46e48490
commit 913fec4e69
12 changed files with 86 additions and 206 deletions

View File

@@ -0,0 +1,9 @@
import { Frame } from "playwright";
export const waitForExplorer = async (): Promise<Frame> => {
await page.waitForSelector("iframe");
await page.waitForTimeout(5000);
return page.frame({
name: "explorer",
});
};