feat(testing): Added quick test, added isEmptyProject option to test setup to have project created with no sakila tables

This commit is contained in:
Muhammed Mustafa
2022-10-25 12:27:16 +05:30
parent dd2858c9bb
commit 6b0d0fcb04
23 changed files with 435 additions and 153 deletions

View File

@@ -39,7 +39,7 @@ test.describe("User roles", () => {
let settings: SettingsPage;
let context: any;
test.beforeAll(async ({ page }) => {
test.beforeEach(async ({ page }) => {
context = await setup({ page });
dashboard = new DashboardPage(page, context.project);
toolbar = dashboard.grid.toolbar;