dont delete database

This commit is contained in:
Asier Isayas
2026-01-21 06:51:26 -08:00
parent 4270151e97
commit dd93b70a61
8 changed files with 42 additions and 23 deletions

View File

@@ -25,12 +25,15 @@ test.describe("Triggers", () => {
});
test.beforeEach("Open container", async ({ page }) => {
explorer = await DataExplorer.open(page, TestAccount.SQL);
explorer = await DataExplorer.open(page, TestAccount.SQL2);
});
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
// Delete database only if not running in CI
if (!process.env.CI) {
test.afterEach("Delete Test Database", async () => {
await context?.dispose();
});
}
test("Add and delete trigger", async ({ page }, testInfo) => {
// Open container context menu and click New Trigger