delete database after each test

This commit is contained in:
Asier Isayas
2026-01-21 11:05:55 -08:00
parent c971d21698
commit c561a982fb
9 changed files with 10 additions and 32 deletions

View File

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