瀏覽代碼

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()