added try-catch block

This commit is contained in:
Bikram Choudhury
2026-01-04 02:06:15 +05:30
parent 0683bfc3af
commit 9f819d9043
2 changed files with 17 additions and 11 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();
});