OpenMetadata/openmetadata-ui
Shailesh Parmar 71ad8766d9
Refactor: Update DataQualityAndProfiler tests and ColumnProfileTable logic (#22364)
* Refactor: Update DataQualityAndProfiler tests and ColumnProfileTable logic

- Replaced `createNewPage` with `performAdminLogin` for improved login handling in DataQualityAndProfiler tests.
- Enhanced test case for profiler matrix visibility to include checks for admin, data consumer, and data steward roles.
- Updated ColumnProfileTable to use `fqn` consistently instead of `tableProfiler?.fullyQualifiedName` for fetching table columns.

This refactor aims to streamline the test setup and improve code clarity.

* Enhance ColumnProfileTable to utilize getTableFQNFromColumnFQN for improved FQN handling

- Updated ColumnProfileTable to derive table FQN from column FQN using the new utility function.
- Refactored related logic to ensure consistent usage of table FQN across navigation and data fetching.
- Added unit tests for getTableFQNFromColumnFQN to validate its functionality.

This change aims to streamline the handling of fully qualified names in the profiler component.
2025-07-15 19:32:28 +05:30
..