From 0d3d92bd36476d0d786a6aa6466441a740d3450a Mon Sep 17 00:00:00 2001 From: Tony Date: Wed, 21 Sep 2022 15:23:39 +0200 Subject: [PATCH] Update to improve cypress reliability (#4587) * new branch to test * force click --- web/cypress/integration/ranking.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/cypress/integration/ranking.spec.js b/web/cypress/integration/ranking.spec.js index a1d825a287e..2cf9aff4e04 100644 --- a/web/cypress/integration/ranking.spec.js +++ b/web/cypress/integration/ranking.spec.js @@ -14,7 +14,7 @@ describe('Ranking Panel', () => { // Click a country and return the the ranking panel cy.get('.zone-list a.selected').click(); cy.get('.left-panel-zone-details .country-name').should('exist'); - cy.get('.left-panel-back-button').click(); + cy.get('.left-panel-back-button').click({ force: true }); // TODO: Ideally the search result should either be reset or the typed value stay in the input