From 56bc65f5fbd450bd46958a8ec01104f294229b2b Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 22:19:56 +0530 Subject: [PATCH] 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> --- test/sql/scaleAndSettings/dataMasking.spec.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/sql/scaleAndSettings/dataMasking.spec.ts b/test/sql/scaleAndSettings/dataMasking.spec.ts index 7b3671e4e..73b8ad0b1 100644 --- a/test/sql/scaleAndSettings/dataMasking.spec.ts +++ b/test/sql/scaleAndSettings/dataMasking.spec.ts @@ -4,11 +4,11 @@ import { createTestSQLContainer, TestContainerContext } from "../../testData"; /** * Tests for Dynamic Data Masking (DDM) feature. - * + * * Prerequisites: * - Test account must have the EnableDynamicDataMasking capability enabled * - If the capability is not enabled, the DataMaskingTab will not be visible and tests will be skipped - * + * * Important Notes: * - Once DDM is enabled on a container, it cannot be disabled (isPolicyEnabled cannot be set to false) * - Tests focus on enabling DDM and modifying the masking policy configuration @@ -32,7 +32,10 @@ test.describe("Data Masking under Scale & Settings", () => { const isTabVisible = await dataMaskingTab.isVisible().catch(() => false); 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(); @@ -42,7 +45,7 @@ test.describe("Data Masking under Scale & Settings", () => { 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 const dataMaskingEditor = explorer.frame.locator(".settingsV2Editor"); await expect(dataMaskingEditor).toBeVisible();