[Vis Colors] Remove hard coded color values from visualization functional tests #4424
Labels
next-theme
technical debt
If not paid, jeapardizes long-term success and maintainability of the repository.
We have functional tests for dashboard state and app, which uses legacy seed colors, hard coded RGB and hex values of colors to test the Dashboard visualization functionality. We need to refactor all such tests to use colors from OUI.
Few such examples below -
OpenSearch-Dashboards/test/functional/apps/dashboard/dashboard_state.js
Line 246 in 29d7a4b
OpenSearch-Dashboards/test/functional/apps/dashboard/dashboard_state.js
Line 256 in 29d7a4b
OpenSearch-Dashboards/test/functional/apps/dashboard/dashboard_state.js
Line 281 in 29d7a4b
OpenSearch-Dashboards/test/functional/apps/dashboard/dashboard_state.js
Line 287 in 29d7a4b
The text was updated successfully, but these errors were encountered: