Add test infrastructure and data-test attributes for Container Copy e2e tests (#2280)

* Add test infrastructure and data-test attributes for Container Copy e2e testing

* fix container copy FTs
This commit is contained in:
BChoudhury-ms
2026-01-08 17:19:16 +05:30
committed by GitHub
parent e27cff0553
commit b71ea50972
10 changed files with 878 additions and 159 deletions

View File

@@ -1,5 +1,5 @@
// import { expect, test } from "@playwright/test";
// import { DataExplorer, TestAccount } from "../../fx";
// import { DataExplorer, getDropdownItemByNameOrPosition, TestAccount } from "../../fx";
// import { createTestSQLContainer, TestContainerContext } from "../../testData";
// test.describe("Change Partition Key", () => {
@@ -83,8 +83,12 @@
// await changePkPanel.getByLabel("Use existing container").check();
// await changePkPanel.getByText("Choose an existing container").click();
// const containerDropdownItem = await explorer.getDropdownItemByName(newContainerId, "Existing Containers");
// await containerDropdownItem.click();
// const containerDropdownItem = await getDropdownItemByNameOrPosition(
// explorer.frame,
// { name: newContainerId },
// { ariaLabel: "Existing Containers" },
// );
// await containerDropdownItem.click();
// await changePkPanel.getByTestId("Panel/OkButton").click();
// await explorer.frame.getByRole("button", { name: "Cancel" }).click();