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

@@ -18,11 +18,9 @@ test.describe("Settings under Scale & Settings", () => {
});
// 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("Update TTL to On (no default)", async () => {
const ttlOnNoDefaultRadioButton = explorer.frame.getByRole("radio", { name: "ttl-on-no-default-option" });