Skip to content

Commit

Permalink
Update to improve cypress reliability (electricitymaps#4587)
Browse files Browse the repository at this point in the history
* new branch to test

* force click
  • Loading branch information
tonypls authored and VIKTORVAV99 committed Sep 21, 2022
1 parent c7d2143 commit 0d3d92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/cypress/integration/ranking.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0d3d92b

Please sign in to comment.