Skip to content

Commit

Permalink
Fix cypress e2e tests: id of clicked path
Browse files Browse the repository at this point in the history
  • Loading branch information
justinefricou committed Jul 9, 2024
1 parent f1c54e3 commit d248327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/nav_create_trek.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ describe('Create trek', () => {
cy.server();
cy.get("a.btn-success[href='/trek/add/']").contains('Add a new trek').click();
cy.get("a.linetopology-control").click();
cy.clickOnPath(0, 67);
cy.clickOnPath(0, 11);
cy.clickOnPath(3, 67);
cy.clickOnPath(3, 11);
cy.get('[data-test^="route-step-"]');
cy.get("input[id='id_duration']").type('100');
cy.get("input[name='name_en']").type('Trek number 1');
Expand Down

0 comments on commit d248327

Please sign in to comment.