Skip to content

Commit

Permalink
fix reapply color
Browse files Browse the repository at this point in the history
  • Loading branch information
Lily Kuang committed Jul 14, 2023
1 parent 573f1f0 commit 622ae33
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ describe('Dashboard edit', () => {
name: 'Top 10 California Names Timeseries',
viz: 'line',
});
cy.wait(5000);
cy.get(
'[data-test-chart-name="Top 10 California Names Timeseries"] .line .nv-legend-symbol',
)
Expand Down Expand Up @@ -423,17 +422,17 @@ describe('Dashboard edit', () => {
'[data-test-chart-name="Top 10 California Names Timeseries"] .line .nv-legend-symbol',
)
.first()
.should('have.css', 'fill', 'rgb(252, 199, 0)');
.should('have.css', 'fill', 'rgb(69, 78, 124)');
cy.get(
'[data-test-chart-name="Top 10 California Names Timeseries"] .line .nv-legend-symbol',
)
.eq(1)
.should('have.css', 'fill', 'rgb(143, 211, 228)');
.should('have.css', 'fill', 'rgb(224, 67, 85)');
cy.get(
'[data-test-chart-name="Top 10 California Names Timeseries"] .line .nv-legend-symbol',
)
.eq(2)
.should('have.css', 'fill', 'rgb(172, 225, 196)');
.should('have.css', 'fill', 'rgb(163, 143, 121)');
});

it('should show the same colors in Explore', () => {
Expand Down

0 comments on commit 622ae33

Please sign in to comment.