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

@@ -25,9 +25,12 @@ test.describe("Change Partition Key", () => {
await PartitionKeyTab.click();
});
test.afterEach("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("Change partition key path", async ({ page }) => {
await expect(explorer.frame.getByText("/partitionKey")).toBeVisible();