Преглед изворни кода

cypress - increase timeout on city search

Olivier Massot пре 4 година
родитељ
комит
bea71a6410
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      test/cypress/integration/structures/index.spec.js

+ 1 - 1
test/cypress/integration/structures/index.spec.js

@@ -173,7 +173,7 @@ describe('Test the /structures page', () => {
   it('Reinitialize shall clear each filter field, display all results, and reset map bounds (in both map and list view)', () => {
     cy.getByLabel('input', 'Quoi ?').type('some long text that will hopefully match no result')
     cy.getByLabel('input:visible', 'Où ?').type('vesoul')
-    cy.get('.v-list-item div').contains(/Vesoul \(\d{5}\)/).click()
+    cy.get('.v-list-item div', { timeout: 10000 }).contains(/Vesoul \(\d{5}\)/).click()
     cy.getByLabel('input:visible', 'Type').click()
     cy.get('.v-list-item').contains('Big band').click()
     cy.getByLabel('input:visible', 'Département').click()