mirror of
https://github.com/apache/superset.git
synced 2024-09-06 22:07:34 -04:00
Try making skipped Cypress test less flaky and un-skip. (#20568)
This commit is contained in:
parent
ac8e502228
commit
b99482dfb1
@ -127,10 +127,16 @@ describe('Test datatable', () => {
|
|||||||
cy.get('[data-test="row-count-label"]').contains('26 rows');
|
cy.get('[data-test="row-count-label"]').contains('26 rows');
|
||||||
cy.get('.ant-empty-description').should('not.exist');
|
cy.get('.ant-empty-description').should('not.exist');
|
||||||
});
|
});
|
||||||
it.skip('Datapane loads view samples', () => {
|
it('Datapane loads view samples', () => {
|
||||||
cy.contains('Samples').click();
|
cy.intercept('/api/v1/dataset/*/samples?force=false').as('Samples');
|
||||||
cy.get('[data-test="row-count-label"]').contains('1k rows');
|
cy.contains('Samples')
|
||||||
cy.get('.ant-empty-description').should('not.exist');
|
.click()
|
||||||
|
.then(() => {
|
||||||
|
cy.wait('@Samples');
|
||||||
|
cy.get('.ant-tabs-tab-active').contains('Samples');
|
||||||
|
cy.get('[data-test="row-count-label"]').contains('1k rows');
|
||||||
|
cy.get('.ant-empty-description').should('not.exist');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user