Retry E2E tests up to 3 times (#711)

This commit is contained in:
Steve Faulkner
2021-04-21 12:45:34 -05:00
committed by GitHub
parent 72ce5fc813
commit e705c490c9
5 changed files with 35 additions and 28 deletions

View File

@@ -1,11 +1,11 @@
import { jest } from "@jest/globals";
import "expect-playwright";
import { safeClick } from "../utils/safeClick";
import { generateUniqueName } from "../utils/shared";
import { generateDatabaseNameWithTimestamp, generateUniqueName } from "../utils/shared";
jest.setTimeout(240000);
test("SQL CRUD", async () => {
const databaseId = generateUniqueName("db");
test("Mongo CRUD", async () => {
const databaseId = generateDatabaseNameWithTimestamp();
const containerId = generateUniqueName("container");
await page.goto("https://localhost:1234/testExplorer.html?accountName=portal-mongo-runner");