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

@@ -24,11 +24,9 @@ test.describe("Change Partition Key", () => {
});
// Delete database only if not running in CI
if (!process.env.CI) {
test.afterEach("Delete Test Database", async () => {
await context?.dispose();
});
}
test.afterEach("Delete Test Database", async () => {
await context?.dispose();
});
test("Change partition key path", async ({ page }) => {
await expect(explorer.frame.getByText("/partitionKey")).toBeVisible();