File tree Expand file tree Collapse file tree
openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/DataQuality Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,12 +85,20 @@ const validateProfilerAccessForRole = async (
8585 const listColumnResponse = await listColumnApiCall ;
8686
8787 expect ( listColumnResponse . status ( ) ) . toBe ( 200 ) ;
88+ await page . waitForSelector ( '[data-testid="loader"]' , { state : 'detached' } ) ;
89+
90+ const columnNameCell = page
91+ . locator ( `[data-row-key*="${ tableInstance . entity . columns [ 1 ] . name } "]` )
92+ . getByText ( tableInstance . entity . columns [ 1 ] . name ) ;
93+
94+ await expect ( columnNameCell ) . toBeVisible ( ) ;
95+ await expect ( columnNameCell ) . toBeEnabled ( ) ;
8896
8997 const getProfilerInfo = page . waitForResponse (
9098 '/api/v1/tables/*/columnProfile?*'
9199 ) ;
92100 await page
93- . locator ( `[data-row-key="${ tableInstance . entity . columns [ 1 ] . name } "]` )
101+ . locator ( `[data-row-key* ="${ tableInstance . entity . columns [ 1 ] . name } "]` )
94102 . getByText ( tableInstance . entity . columns [ 1 ] . name )
95103 . click ( ) ;
96104 await getProfilerInfo ;
You can’t perform that action at this time.
0 commit comments