mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
chore: Audit E2E tests for color schemes in Dashboard and Explore (#20807)
* Update properties tests * Update selectors * Verify charts changing colors * Test shared and label colors * Update dashboard edit test * Enhance viz tests * Remove chart ids * Update color
This commit is contained in:
@@ -46,4 +46,15 @@ describe('Visualization > Box Plot', () => {
|
||||
verify(BOX_PLOT_FORM_DATA);
|
||||
cy.get('.chart-container .box_plot canvas').should('have.length', 1);
|
||||
});
|
||||
|
||||
it('should allow type to search color schemes', () => {
|
||||
cy.get('#controlSections-tab-display').click();
|
||||
cy.get('.Control[data-test="color_scheme"]').scrollIntoView();
|
||||
cy.get('.Control[data-test="color_scheme"] input[type="search"]')
|
||||
.focus()
|
||||
.type('supersetColors{enter}');
|
||||
cy.get(
|
||||
'.Control[data-test="color_scheme"] .ant-select-selection-item ul[data-test="supersetColors"]',
|
||||
).should('exist');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user