fix: Fixing broken Cypress test (#11453)

* fixing bad data-test selector

* linting

* typo... because I got all excited.
This commit is contained in:
Evan Rusackas 2020-10-27 22:51:38 -07:00 committed by GitHub
parent 155b5edec1
commit 68411677e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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"]').click();
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"]')
.contains('Cancel')
.click();