mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-07-21 21:07:23 +01:00
Remove all of the test.skip() calls.
This commit is contained in:
@@ -28,7 +28,6 @@ test.describe("Change Partition Key", () => {
|
||||
});
|
||||
|
||||
test("Change partition key path", async ({ page }) => {
|
||||
test.skip();
|
||||
await expect(explorer.frame.getByText("/partitionKey")).toBeVisible();
|
||||
await expect(explorer.frame.getByText("Change partition key")).toBeVisible();
|
||||
await expect(explorer.frame.getByText(/To safeguard the integrity of/)).toBeVisible();
|
||||
|
||||
@@ -29,7 +29,6 @@ test.describe("Computed Properties", () => {
|
||||
});
|
||||
|
||||
test("Add valid computed property", async ({ page }) => {
|
||||
test.skip();
|
||||
await clearComputedPropertiesTextBoxContent({ page });
|
||||
|
||||
// Create computed property
|
||||
@@ -55,7 +54,6 @@ test.describe("Computed Properties", () => {
|
||||
});
|
||||
|
||||
test("Add computed property with invalid query", async ({ page }) => {
|
||||
test.skip();
|
||||
await clearComputedPropertiesTextBoxContent({ page });
|
||||
|
||||
// Create computed property with no VALUE keyword in query
|
||||
@@ -81,7 +79,6 @@ test.describe("Computed Properties", () => {
|
||||
});
|
||||
|
||||
test("Add computed property with invalid json", async ({ page }) => {
|
||||
test.skip();
|
||||
await clearComputedPropertiesTextBoxContent({ page });
|
||||
|
||||
// Create computed property with no VALUE keyword in query
|
||||
|
||||
@@ -73,7 +73,6 @@ test.describe("Vector Policy under Scale & Settings", () => {
|
||||
};
|
||||
|
||||
test("Add new vector embedding policy", async () => {
|
||||
test.skip();
|
||||
const existingCount = await getPolicyCount();
|
||||
|
||||
// Click Add vector embedding button
|
||||
@@ -103,7 +102,6 @@ test.describe("Vector Policy under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("Existing vector embedding policy fields are disabled", async () => {
|
||||
test.skip();
|
||||
// Ensure there is at least one saved policy
|
||||
await ensureExistingPolicy();
|
||||
|
||||
@@ -117,7 +115,6 @@ test.describe("Vector Policy under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("New vector embedding policy fields are enabled while existing are disabled", async () => {
|
||||
test.skip();
|
||||
// Ensure there is at least one saved policy
|
||||
const existingCount = await ensureExistingPolicy();
|
||||
|
||||
@@ -141,7 +138,6 @@ test.describe("Vector Policy under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("Delete existing vector embedding policy", async () => {
|
||||
test.skip();
|
||||
// Ensure there is at least one saved policy to delete
|
||||
const existingCount = await ensureExistingPolicy();
|
||||
|
||||
@@ -175,7 +171,6 @@ test.describe("Vector Policy under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("Validation error for empty path", async () => {
|
||||
test.skip();
|
||||
const existingCount = await getPolicyCount();
|
||||
|
||||
const addButton = explorer.frame.locator("#add-vector-policy");
|
||||
|
||||
@@ -88,7 +88,6 @@ test.describe("Data Masking under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("Data Masking editor should contain default policy structure", async ({ page }) => {
|
||||
test.skip();
|
||||
const explorer = await DataExplorer.open(page, TestAccount.SQL);
|
||||
const isTabAvailable = await navigateToDataMaskingTab(page, explorer);
|
||||
|
||||
@@ -109,7 +108,6 @@ test.describe("Data Masking under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("Data Masking editor should have correct default policy values", async ({ page }) => {
|
||||
test.skip();
|
||||
const explorer = await DataExplorer.open(page, TestAccount.SQL);
|
||||
const isTabAvailable = await navigateToDataMaskingTab(page, explorer);
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ test.describe("Autoscale throughput", () => {
|
||||
});
|
||||
|
||||
test("Update autoscale max throughput", async () => {
|
||||
test.skip();
|
||||
await getThroughputInput(setup.explorer, "autopilot").fill(TEST_AUTOSCALE_MAX_THROUGHPUT_RU_2K.toString());
|
||||
await setup.explorer.commandBarButton(CommandBarButton.Save).click();
|
||||
|
||||
@@ -48,7 +47,6 @@ test.describe("Autoscale throughput", () => {
|
||||
});
|
||||
|
||||
test("Update autoscale max throughput passed allowed limit", async () => {
|
||||
test.skip();
|
||||
const softAllowedMaxThroughputString = await setup.explorer.frame
|
||||
.getByTestId("soft-allowed-maximum-throughput")
|
||||
.innerText();
|
||||
@@ -60,7 +58,6 @@ test.describe("Autoscale throughput", () => {
|
||||
});
|
||||
|
||||
test("Update autoscale max throughput with invalid increment", async () => {
|
||||
test.skip();
|
||||
await getThroughputInput(setup.explorer, "autopilot").fill("1100");
|
||||
await expect(setup.explorer.commandBarButton(CommandBarButton.Save)).toBeDisabled();
|
||||
await expect(getThroughputInputErrorMessage(setup.explorer, "autopilot")).toContainText(
|
||||
@@ -81,7 +78,6 @@ test.describe("Manual throughput", () => {
|
||||
});
|
||||
|
||||
test("Update manual throughput", async () => {
|
||||
test.skip();
|
||||
await getThroughputInput(setup.explorer, "manual").fill(TEST_MANUAL_THROUGHPUT_RU_2K.toString());
|
||||
await setup.explorer.commandBarButton(CommandBarButton.Save).click();
|
||||
await expect(setup.explorer.getConsoleHeaderStatus()).toContainText(
|
||||
@@ -91,7 +87,6 @@ test.describe("Manual throughput", () => {
|
||||
});
|
||||
|
||||
test("Update manual throughput passed allowed limit", async () => {
|
||||
test.skip();
|
||||
const softAllowedMaxThroughputString = await setup.explorer.frame
|
||||
.getByTestId("soft-allowed-maximum-throughput")
|
||||
.innerText();
|
||||
|
||||
@@ -22,7 +22,6 @@ test.describe("Settings under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("Update TTL to On (no default)", async () => {
|
||||
test.skip();
|
||||
const ttlOnNoDefaultRadioButton = explorer.frame.getByRole("radio", { name: "ttl-on-no-default-option" });
|
||||
await ttlOnNoDefaultRadioButton.click();
|
||||
|
||||
@@ -36,7 +35,6 @@ test.describe("Settings under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("Update TTL to On (with user entry)", async () => {
|
||||
test.skip();
|
||||
const ttlOnRadioButton = explorer.frame.getByRole("radio", { name: "ttl-on-option" });
|
||||
await ttlOnRadioButton.click();
|
||||
|
||||
@@ -54,7 +52,6 @@ test.describe("Settings under Scale & Settings", () => {
|
||||
});
|
||||
|
||||
test("Set Geospatial Config to Geometry then Geography", async () => {
|
||||
test.skip();
|
||||
const geometryRadioButton = explorer.frame.getByRole("radio", { name: "geometry-option" });
|
||||
await geometryRadioButton.click();
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ test.describe("Shared Throughput Option Removed from Creation Dialogs", () => {
|
||||
});
|
||||
|
||||
test("New Database panel should not show shared throughput checkbox", async () => {
|
||||
test.skip();
|
||||
// Open the "New Database" panel via the global command menu
|
||||
const newDatabaseButton = await explorer.globalCommandButton("New Database");
|
||||
await newDatabaseButton.click();
|
||||
@@ -38,7 +37,6 @@ test.describe("Shared Throughput Option Removed from Creation Dialogs", () => {
|
||||
});
|
||||
|
||||
test("New Container panel should not show shared throughput checkbox when creating new database", async () => {
|
||||
test.skip();
|
||||
// Open the "New Container" panel
|
||||
const newContainerButton = await explorer.globalCommandButton("New Container");
|
||||
await newContainerButton.click();
|
||||
@@ -63,7 +61,6 @@ test.describe("Shared Throughput Option Removed from Creation Dialogs", () => {
|
||||
});
|
||||
|
||||
test("Dedicated throughput checkbox still appears for existing shared database", async () => {
|
||||
test.skip();
|
||||
// Create a database with shared throughput via SDK
|
||||
const dbContext = await createTestDB({ throughput: 400 });
|
||||
|
||||
@@ -103,7 +100,6 @@ test.describe("Shared Throughput Option Removed from Creation Dialogs", () => {
|
||||
});
|
||||
|
||||
test.describe("Database with Shared Throughput", () => {
|
||||
test.skip();
|
||||
let dbContext: TestDatabaseContext = null!;
|
||||
let explorer: DataExplorer = null!;
|
||||
const containerId = "sharedcontainer";
|
||||
@@ -123,7 +119,6 @@ test.describe("Database with Shared Throughput", () => {
|
||||
});
|
||||
|
||||
test("Create database with shared manual throughput and verify Scale node in UI", async () => {
|
||||
test.skip();
|
||||
test.setTimeout(120000); // 2 minutes timeout
|
||||
// Create database with shared manual throughput (400 RU/s)
|
||||
dbContext = await createTestDB({ throughput: 400 });
|
||||
@@ -142,7 +137,6 @@ test.describe("Database with Shared Throughput", () => {
|
||||
});
|
||||
|
||||
test("Add container to shared database without dedicated throughput", async () => {
|
||||
test.skip();
|
||||
// Create database with shared manual throughput
|
||||
dbContext = await createTestDB({ throughput: 400 });
|
||||
|
||||
@@ -196,7 +190,6 @@ test.describe("Database with Shared Throughput", () => {
|
||||
});
|
||||
|
||||
test("Scale shared database manual throughput", async () => {
|
||||
test.skip();
|
||||
// Create database with shared manual throughput (400 RU/s)
|
||||
dbContext = await createTestDB({ throughput: 400 });
|
||||
|
||||
@@ -222,7 +215,6 @@ test.describe("Database with Shared Throughput", () => {
|
||||
});
|
||||
|
||||
test("Scale shared database from manual to autoscale", async () => {
|
||||
test.skip();
|
||||
// Create database with shared manual throughput (400 RU/s)
|
||||
dbContext = await createTestDB({ throughput: 400 });
|
||||
|
||||
@@ -257,7 +249,6 @@ test.describe("Database with Shared Throughput", () => {
|
||||
});
|
||||
|
||||
test("Create database with shared autoscale throughput and verify Scale node in UI", async () => {
|
||||
test.skip();
|
||||
test.setTimeout(120000); // 2 minutes timeout
|
||||
|
||||
// Create database with shared autoscale throughput (max 1000 RU/s)
|
||||
@@ -277,7 +268,6 @@ test.describe("Database with Shared Throughput", () => {
|
||||
});
|
||||
|
||||
test("Scale shared database autoscale throughput", async () => {
|
||||
test.skip();
|
||||
// Create database with shared autoscale throughput (max 1000 RU/s)
|
||||
dbContext = await createTestDB({ maxThroughput: 1000 });
|
||||
|
||||
@@ -303,7 +293,6 @@ test.describe("Database with Shared Throughput", () => {
|
||||
});
|
||||
|
||||
test("Scale shared database from autoscale to manual", async () => {
|
||||
test.skip();
|
||||
// Create database with shared autoscale throughput (max 1000 RU/s)
|
||||
dbContext = await createTestDB({ maxThroughput: 1000 });
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ test.describe("Throughput bucket settings", () => {
|
||||
}
|
||||
|
||||
test("Activate throughput bucket #2", async () => {
|
||||
test.skip();
|
||||
// Activate bucket 2
|
||||
const bucket2Toggle = explorer.frame.getByTestId("bucket-2-active-toggle");
|
||||
await bucket2Toggle.click();
|
||||
@@ -43,7 +42,6 @@ test.describe("Throughput bucket settings", () => {
|
||||
});
|
||||
|
||||
test("Activate throughput buckets #1 and #2", async () => {
|
||||
test.skip();
|
||||
// Activate bucket 1
|
||||
const bucket1Toggle = explorer.frame.getByTestId("bucket-1-active-toggle");
|
||||
await bucket1Toggle.click();
|
||||
@@ -61,7 +59,6 @@ test.describe("Throughput bucket settings", () => {
|
||||
});
|
||||
|
||||
test("Set throughput percentage for bucket #1", async () => {
|
||||
test.skip();
|
||||
// Set throughput percentage for bucket 1 (inactive) - Should be disabled
|
||||
const bucket1PercentageInput = explorer.frame.getByTestId("bucket-1-percentage-input");
|
||||
expect(bucket1PercentageInput).toBeDisabled();
|
||||
@@ -82,7 +79,6 @@ test.describe("Throughput bucket settings", () => {
|
||||
});
|
||||
|
||||
test("Set default throughput bucket", async () => {
|
||||
test.skip();
|
||||
// There are no active throughput buckets so they all should be disabled
|
||||
const defaultThroughputBucketDropdown = explorer.frame.getByTestId("default-throughput-bucket-dropdown");
|
||||
await defaultThroughputBucketDropdown.click();
|
||||
|
||||
Reference in New Issue
Block a user