Update Puppeteer (#562)

This commit is contained in:
Steve Faulkner
2021-03-18 17:53:15 -05:00
committed by GitHub
parent c43e24061c
commit c6090e2663
4 changed files with 69 additions and 48 deletions

View File

@@ -65,12 +65,6 @@ describe("Collection Add and Delete SQL spec", () => {
await frame.waitFor(CREATE_DELAY);
await frame.waitFor("div[class='rowData'] > span[class='message']");
const didCreateContainer = await frame.$$eval("div[class='rowData'] > span[class='message']", (elements) => {
return elements.some((el) => el.textContent.includes("Successfully created"));
});
expect(didCreateContainer).toBe(true);
await frame.waitFor(`div[data-test="${selectedDbId}"]`), { visible: true };
await frame.waitFor(LOADING_STATE_DELAY);