mirror of
https://github.com/apache/superset.git
synced 2026-04-24 18:44:53 +00:00
chore(explore): update Explore icons and icon colors (#20612)
* Update Explore icons and icon colors. * Change shade of blue and make blue only appear when fields have never been filled in. * Fix Cypress test. * Update non-error validation color from blue to yellow. * Unpack ternary. * Replace direct AntD imports with our Icons component.
This commit is contained in:
@@ -40,7 +40,10 @@ describe('Visualization > Line', () => {
|
||||
cy.get('.panel-body').contains(
|
||||
`Add required control values to preview chart`,
|
||||
);
|
||||
cy.get('.text-danger').contains('Metrics');
|
||||
cy.get('[data-test="metrics-header"]').contains('Metrics');
|
||||
cy.get('[data-test="metrics-header"] [data-test="error-tooltip"]').should(
|
||||
'exist',
|
||||
);
|
||||
|
||||
cy.get('[data-test=metrics]')
|
||||
.contains('Drop columns/metrics here or click')
|
||||
@@ -55,7 +58,11 @@ describe('Visualization > Line', () => {
|
||||
.type('sum{enter}');
|
||||
cy.get('[data-test="AdhocMetricEdit#save"]').contains('Save').click();
|
||||
|
||||
cy.get('.text-danger').should('not.exist');
|
||||
cy.get('[data-test="metrics-header"]').contains('Metrics');
|
||||
cy.get('[data-test="metrics-header"] [data-test="error-tooltip"]').should(
|
||||
'not.exist',
|
||||
);
|
||||
|
||||
cy.get('.ant-alert-warning').should('not.exist');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user