Skip to content

Commit

Permalink
fix: force click
Browse files Browse the repository at this point in the history
  • Loading branch information
friedjoff committed Jun 15, 2020
1 parent 8287c0f commit cfd12e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/integration/projection.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ describe('Projection in form mode', () => {
selectField('ForestEcoregion', '.item:first-child');
selectField('AltitudinalZone', '.item:last-child');
selectField('ForestType', '.item:first-child');
cy.get(`[data-cypress=projectionFormTransition] .ui:last-child`).click();
selectField('TransitionForestType', '.item:first-child');
cy.get(`[data-cypress=projectionFormTransition] .ui:last-child`).click({
force: true,
});
selectField('TransitionForestType', '.item:first-child', true);
selectField('TransitionAltitudinalZone', '.item:last-child', true);
selectField('TargetAltitudinalZone', '.item:first-child', true);
cy.get('[data-cypress=projectionResultMenuItem]').contains(/\w+\s\(\w+\)/);
Expand Down

0 comments on commit cfd12e9

Please sign in to comment.