mirror of
https://github.com/apache/superset.git
synced 2026-04-14 05:34:38 +00:00
chore: Select component refactoring - ColorSchemeControl - Iteration 5 (#15555)
* Enhance Select * Transition Select to Antd * Update test * Fix Cypress * Change name to aria-label * Update Cypress search val * Test Cypress selection
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
/* eslint-disable no-unused-expressions */
|
||||
import React from 'react';
|
||||
import { Select } from 'src/components/Select';
|
||||
import { Select } from 'src/components';
|
||||
import { getCategoricalSchemeRegistry } from '@superset-ui/core';
|
||||
import { styledMount as mount } from 'spec/helpers/theming';
|
||||
import ColorSchemeControl from 'src/explore/components/controls/ColorSchemeControl';
|
||||
@@ -37,7 +37,7 @@ describe('ColorSchemeControl', () => {
|
||||
wrapper = mount(<ColorSchemeControl {...defaultProps} />);
|
||||
});
|
||||
|
||||
it('renders a Creatable', () => {
|
||||
it('renders a Select', () => {
|
||||
expect(wrapper.find(Select)).toExist();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user