소스 검색

Increase the timeout for spell-check tests (#21385)

GitOrigin-RevId: 31013f9663a0464cfd22f32164e22f8d45e4c0d9
Alf Eaton 2 년 전
부모
커밋
5c8daedf72
1개의 변경된 파일과 3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      services/web/test/frontend/features/source-editor/components/codemirror-editor-spellchecker-client.spec.tsx

+ 3 - 1
services/web/test/frontend/features/source-editor/components/codemirror-editor-spellchecker-client.spec.tsx

@@ -152,7 +152,9 @@ forEach(Object.keys(suggestions)).describe(
       const [from, to] = suggestions[spellCheckLanguage]
 
       cy.get('@line').type(`${from} ${to}`)
-      cy.get('@line').get('.ol-cm-spelling-error').should('have.length', 1)
+      cy.get('@line')
+        .get('.ol-cm-spelling-error', { timeout: 10000 })
+        .should('have.length', 1)
       cy.get('@line').get('.ol-cm-spelling-error').should('have.text', from)
 
       cy.get('@line').get('.ol-cm-spelling-error').rightclick()