Skip to content

Commit

Permalink
Fixes E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Apr 12, 2023
1 parent d899192 commit cf1b20f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('Visualization > Table', () => {
granularity_sqla: undefined,
metrics: ['count'],
});
cy.get('[data-test=granularity_sqla] .column-option-label').contains('ds');
cy.get('[data-test=adhoc_filters]').contains('ds');
});

it('Format non-numeric metrics correctly', () => {
Expand Down Expand Up @@ -126,7 +126,7 @@ describe('Visualization > Table', () => {
// should handle frontend sorting correctly
cy.get('.chart-container th').contains('name').click();
cy.get('.chart-container td:nth-child(2):eq(0)').contains('Adam');
cy.get('.chart-container th').contains('Time').click().click();
cy.get('.chart-container th').contains('ds').click().click();
cy.get('.chart-container td:nth-child(1):eq(0)').contains('2008');
});

Expand Down

0 comments on commit cf1b20f

Please sign in to comment.