delete db after each test

This commit is contained in:
Asier Isayas
2026-01-22 08:30:15 -08:00
parent d24400198d
commit 561eb6d1fa
7 changed files with 17 additions and 34 deletions

View File

@@ -30,12 +30,9 @@ test.beforeEach("Open new query tab", async ({ page }) => {
await explorer.frame.getByTestId("NotificationConsole/Contents").waitFor();
});
// 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