added try-catch to the error code

This commit is contained in:
Bikram Choudhury
2026-01-05 13:12:12 +05:30
parent 0683bfc3af
commit ad863bdd58
2 changed files with 24 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ test.describe("Change Partition Key", () => {
// Click Scale & Settings and open Partition Key tab
await explorer.openScaleAndSettings(context);
const PartitionKeyTab = explorer.frame.getByTestId("settings-tab-header/PartitionKeyTab");
await expect(PartitionKeyTab).toBeVisible();
await PartitionKeyTab.click();
});