mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-26 21:24:13 +00:00
Fix format and lint errors in DDM Playwright tests (#2350)
* Initial plan * Fix format and lint errors in dataMasking.spec.ts Co-authored-by: sakshigupta12feb <206070758+sakshigupta12feb@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sakshigupta12feb <206070758+sakshigupta12feb@users.noreply.github.com>
This commit is contained in:
@@ -32,7 +32,10 @@ test.describe("Data Masking under Scale & Settings", () => {
|
|||||||
const isTabVisible = await dataMaskingTab.isVisible().catch(() => false);
|
const isTabVisible = await dataMaskingTab.isVisible().catch(() => false);
|
||||||
|
|
||||||
if (!isTabVisible) {
|
if (!isTabVisible) {
|
||||||
test.skip(true, "Data Masking tab is not available. Test account may not have EnableDynamicDataMasking capability.");
|
test.skip(
|
||||||
|
true,
|
||||||
|
"Data Masking tab is not available. Test account may not have EnableDynamicDataMasking capability.",
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
await dataMaskingTab.click();
|
await dataMaskingTab.click();
|
||||||
@@ -42,7 +45,7 @@ test.describe("Data Masking under Scale & Settings", () => {
|
|||||||
await context?.dispose();
|
await context?.dispose();
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Data Masking editor should be visible", async ({ page }) => {
|
test("Data Masking editor should be visible", async () => {
|
||||||
// Verify the Data Masking editor is visible
|
// Verify the Data Masking editor is visible
|
||||||
const dataMaskingEditor = explorer.frame.locator(".settingsV2Editor");
|
const dataMaskingEditor = explorer.frame.locator(".settingsV2Editor");
|
||||||
await expect(dataMaskingEditor).toBeVisible();
|
await expect(dataMaskingEditor).toBeVisible();
|
||||||
|
|||||||
Reference in New Issue
Block a user