Revert "Adds e2e tables test (#276)" (#292)

This reverts commit 30353c26f3.
This commit is contained in:
Zachary Foster
2020-10-20 13:02:50 -04:00
committed by GitHub
parent 30353c26f3
commit 7ffa18a190
7 changed files with 5 additions and 87 deletions

View File

@@ -101,13 +101,11 @@ describe("Collection Add and Delete Mongo spec", () => {
// click delete
await frame.click('input[data-test="deleteDatabase"]');
await frame.waitForSelector('div[class="splashScreen"] > div[class="title"]', { visible: true });
await frame.waitFor(LOADING_STATE_DELAY);
await frame.waitForSelector('div[class="splashScreen"] > div[class="title"]', { visible: true });
await expect(page).not.toMatchElement(`div[data-test="${dbId}"]`);
} catch (error) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const testName = (expect as any).getState().currentTestName;
await page.screenshot({ path: `failed-${testName}.jpg` });
await page.screenshot({ path: `Test Failed ${testName}.png` });
throw error;
}
});