From 41bd8213f674fc0becb042ef858c55fbf0df5b1b Mon Sep 17 00:00:00 2001 From: Jesse Yang Date: Thu, 21 Jan 2021 23:05:39 -0800 Subject: [PATCH] Try to fix typing --- .../cypress-base/cypress/integration/dashboard/tabs.test.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/superset-frontend/cypress-base/cypress/integration/dashboard/tabs.test.js b/superset-frontend/cypress-base/cypress/integration/dashboard/tabs.test.js index e49f5d05068a5..8e94601496929 100644 --- a/superset-frontend/cypress-base/cypress/integration/dashboard/tabs.test.js +++ b/superset-frontend/cypress-base/cypress/integration/dashboard/tabs.test.js @@ -132,11 +132,10 @@ describe('Dashboard tabs', () => { cy.wait('@treemapRequest'); // apply filter - cy.get('.Select__control').first().should('be.visible'); - cy.get('.Select__control').first().click({ force: true }); + cy.get('.Select__control').first().should('be.visible').click(); cy.get('.Select__control input[type=text]') .first() - .should('be.visible') + .focus() .type('South Asia{enter}'); cy.get('.filter_box button:not(:disabled)').contains('Apply').click();