From 68411677e9a54f76ca4d211a3f15e02eec1105ea Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Tue, 27 Oct 2020 22:51:38 -0700 Subject: [PATCH] fix: Fixing broken Cypress test (#11453) * fixing bad data-test selector * linting * typo... because I got all excited. --- .../cypress/integration/chart_list/card_view.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts b/superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts index 268c3623b6..8112bc113f 100644 --- a/superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts @@ -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();