don't delete database after each test

This commit is contained in:
Asier Isayas
2026-01-05 13:32:02 -05:00
parent 9428808a13
commit 725c0dfe90
3 changed files with 14 additions and 7 deletions

View File

@@ -30,9 +30,11 @@ test.beforeEach("Open new query tab", async ({ page }) => {
await explorer.frame.getByTestId("NotificationConsole/Contents").waitFor();
});
test.afterAll("Delete Test Database", async () => {
if (!process.env.CI) {
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
}
test("Query results", async () => {
// Run the query and verify the results

View File

@@ -26,9 +26,12 @@ test.describe("Autoscale throughput", () => {
await switchManualToAutoscaleThroughput();
});
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
if (!process.env.CI) {
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
}
test("Update autoscale max throughput", async () => {
// Update autoscale max throughput

View File

@@ -26,9 +26,11 @@ test.describe("Settings under Scale & Settings", () => {
// await settingsTab.click();
// });
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
if (!process.env.CI) {
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
}
// if (!process.env.CI) {
// test.afterAll("Delete Test Database", async () => {
// await context?.dispose();