mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-30 15:14:19 +00:00
don't delete database after each test
This commit is contained in:
@@ -30,9 +30,11 @@ test.beforeEach("Open new query tab", async ({ page }) => {
|
|||||||
await explorer.frame.getByTestId("NotificationConsole/Contents").waitFor();
|
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();
|
await context?.dispose();
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
test("Query results", async () => {
|
test("Query results", async () => {
|
||||||
// Run the query and verify the results
|
// Run the query and verify the results
|
||||||
|
|||||||
@@ -26,9 +26,12 @@ test.describe("Autoscale throughput", () => {
|
|||||||
await switchManualToAutoscaleThroughput();
|
await switchManualToAutoscaleThroughput();
|
||||||
});
|
});
|
||||||
|
|
||||||
test.afterAll("Delete Test Database", async () => {
|
if (!process.env.CI) {
|
||||||
await context?.dispose();
|
test.afterAll("Delete Test Database", async () => {
|
||||||
});
|
await context?.dispose();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
test("Update autoscale max throughput", async () => {
|
test("Update autoscale max throughput", async () => {
|
||||||
// Update autoscale max throughput
|
// Update autoscale max throughput
|
||||||
|
|||||||
@@ -26,9 +26,11 @@ test.describe("Settings under Scale & Settings", () => {
|
|||||||
// await settingsTab.click();
|
// await settingsTab.click();
|
||||||
// });
|
// });
|
||||||
|
|
||||||
test.afterAll("Delete Test Database", async () => {
|
if (!process.env.CI) {
|
||||||
await context?.dispose();
|
test.afterAll("Delete Test Database", async () => {
|
||||||
});
|
await context?.dispose();
|
||||||
|
});
|
||||||
|
}
|
||||||
// if (!process.env.CI) {
|
// if (!process.env.CI) {
|
||||||
// test.afterAll("Delete Test Database", async () => {
|
// test.afterAll("Delete Test Database", async () => {
|
||||||
// await context?.dispose();
|
// await context?.dispose();
|
||||||
|
|||||||
Reference in New Issue
Block a user