mirror of
https://github.com/apache/superset.git
synced 2024-09-12 16:49:40 -04:00
fix: Fixing broken Cypress test (#11453)
* fixing bad data-test selector * linting * typo... because I got all excited.
This commit is contained in:
parent
155b5edec1
commit
68411677e9
@ -109,7 +109,9 @@ describe('chart card view', () => {
|
|||||||
cy.get('[data-test="chart-list-edit-option"]').should('be.visible');
|
cy.get('[data-test="chart-list-edit-option"]').should('be.visible');
|
||||||
cy.get('[data-test="chart-list-edit-option"]').click();
|
cy.get('[data-test="chart-list-edit-option"]').click();
|
||||||
cy.get('[data-test="properties-edit-modal"]').should('be.visible');
|
cy.get('[data-test="properties-edit-modal"]').should('be.visible');
|
||||||
cy.get('[data-test="properties-name-input"]').should('not.have.value');
|
cy.get('[data-test="properties-modal-name-input"]').should(
|
||||||
|
'not.have.value',
|
||||||
|
);
|
||||||
cy.get('[data-test="properties-modal-cancel-button"]')
|
cy.get('[data-test="properties-modal-cancel-button"]')
|
||||||
.contains('Cancel')
|
.contains('Cancel')
|
||||||
.click();
|
.click();
|
||||||
|
Loading…
Reference in New Issue
Block a user