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

@@ -24,9 +24,12 @@ test.describe("Computed Properties", () => {
await computedPropertiesTab.click();
});
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 valid computed property", async ({ page }) => {
await clearComputedPropertiesTextBoxContent({ page });