in CI delete every db after test finishes

This commit is contained in:
Asier Isayas
2026-01-09 12:24:59 -08:00
parent 3d182977d6
commit 53a172b635
8 changed files with 20 additions and 36 deletions

View File

@@ -31,11 +31,9 @@ test.beforeEach("Open new query tab", async ({ page }) => {
});
// Delete database only if not running in CI
if (!process.env.CI) {
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
}
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
test("Query results", async () => {
// Run the query and verify the results