diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/AutoClassification.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/AutoClassification.spec.ts index 163ff111fce..ca8a5291aa8 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/AutoClassification.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/AutoClassification.spec.ts @@ -32,84 +32,92 @@ test.describe.configure({ timeout: 11 * 60 * 1000, }); -test.describe('Auto Classification', PLAYWRIGHT_INGESTION_TAG_OBJ, async () => { - test('should be able to auto classify data', async ({ page }) => { - await redirectToHomePage(page); - await settingClick( - page, - mysqlService.category as unknown as SettingOptionsType - ); +test.describe.skip( + 'Auto Classification', + PLAYWRIGHT_INGESTION_TAG_OBJ, + async () => { + test('should be able to auto classify data', async ({ page }) => { + await redirectToHomePage(page); + await settingClick( + page, + mysqlService.category as unknown as SettingOptionsType + ); - // Create and ingest service data - await mysqlService.createService(page); + // Create and ingest service data + await mysqlService.createService(page); - await addAndTriggerAutoClassificationPipeline(page, mysqlService); + await addAndTriggerAutoClassificationPipeline(page, mysqlService); - // Check if the classification is successful - const getDatabases = page.waitForResponse( - (response) => - response.url().includes('/api/v1/databases?service=') && - response.request().method() === 'GET' && - response.status() === 200 - ); + // Check if the classification is successful + const getDatabases = page.waitForResponse( + (response) => + response.url().includes('/api/v1/databases?service=') && + response.request().method() === 'GET' && + response.status() === 200 + ); - // Click on databases tab - await page.click('.ant-tabs-nav-list [data-testid="databases"]'); + // Click on databases tab + await page.click('.ant-tabs-nav-list [data-testid="databases"]'); - await getDatabases; + await getDatabases; - // Click on the database name - await page.getByTestId('column-name').getByText('default').click(); + // Click on the database name + await page.getByTestId('column-name').getByText('default').click(); - await page.waitForSelector('[data-testid="cypress_integrations_test_db"]'); + await page.waitForSelector( + '[data-testid="cypress_integrations_test_db"]' + ); - // Click on the database schema name - await page.getByTestId('cypress_integrations_test_db').click(); + // Click on the database schema name + await page.getByTestId('cypress_integrations_test_db').click(); - await page.waitForSelector('[data-testid="sensitive_customers"]'); + await page.waitForSelector('[data-testid="sensitive_customers"]'); - // Click on the table name - await page.getByTestId('sensitive_customers').click(); + // Click on the table name + await page.getByTestId('sensitive_customers').click(); - // Verify the sensitive tags - await test - .expect( - page.locator( - `[data-row-key*="user_name"] [data-testid="tag-PII.Sensitive"] ` + // Verify the sensitive tags + await test + .expect( + page.locator( + `[data-row-key*="user_name"] [data-testid="tag-PII.Sensitive"] ` + ) ) - ) - .toBeAttached(); + .toBeAttached(); - await test - .expect( - page.locator(`[data-row-key*="SSN"] [data-testid="tag-PII.Sensitive"] `) - ) - .toBeAttached(); - - await test - .expect( - page.locator( - `[data-row-key*="DWH_X10"] [data-testid="tag-PII.Sensitive"] ` + await test + .expect( + page.locator( + `[data-row-key*="SSN"] [data-testid="tag-PII.Sensitive"] ` + ) ) - ) - .toBeAttached(); + .toBeAttached(); - mysqlService.name; - - // Verify the non sensitive tags - await test - .expect( - page.locator( - `[data-row-key*="address"] [data-testid="tag-PII.NonSensitive"] ` + await test + .expect( + page.locator( + `[data-row-key*="DWH_X10"] [data-testid="tag-PII.Sensitive"] ` + ) ) - ) - .toBeAttached(); + .toBeAttached(); - // Delete the created service - await settingClick( - page, - mysqlService.category as unknown as SettingOptionsType - ); - await mysqlService.deleteService(page); - }); -}); + mysqlService.name; + + // Verify the non sensitive tags + await test + .expect( + page.locator( + `[data-row-key*="address"] [data-testid="tag-PII.NonSensitive"] ` + ) + ) + .toBeAttached(); + + // Delete the created service + await settingClick( + page, + mysqlService.category as unknown as SettingOptionsType + ); + await mysqlService.deleteService(page); + }); + } +); diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Table.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Table.spec.ts index a1ad17a2fd1..10171824ea4 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Table.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/Table.spec.ts @@ -65,7 +65,7 @@ test.describe('Table pagination sorting search scenarios ', () => { expect(await page.locator('.ant-table-row').count()).toBe(10); }); - test('Table search with sorting should works', async ({ page }) => { + test.skip('Table search with sorting should works', async ({ page }) => { await sidebarClick(page, SidebarItem.DATA_QUALITY); await page.click('[data-testid="by-test-cases"]'); diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/PersonaFlow.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/PersonaFlow.spec.ts index 7bd48c50c54..a648df60e78 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/PersonaFlow.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Flow/PersonaFlow.spec.ts @@ -140,7 +140,7 @@ test.describe.serial('Persona operations', () => { ); }); - test('Persona update description flow should work properly', async ({ + test.skip('Persona update description flow should work properly', async ({ page, }) => { await page diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Login.spec.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Login.spec.ts index b5251478dbe..121814eae60 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Login.spec.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/Pages/Login.spec.ts @@ -140,7 +140,7 @@ test.describe('Login flow should work properly', () => { await page.locator('[data-testid="go-back-button"]').click(); }); - test('Refresh should work', async ({ browser }) => { + test.skip('Refresh should work', async ({ browser }) => { const browserContext = await browser.newContext(); const { apiContext, afterAction } = await performAdminLogin(browser); const page1 = await browserContext.newPage(),