From 5c8daedf723f7fc9aeef792e2dcb86e5abd7f5e8 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Fri, 25 Oct 2024 10:57:32 +0100 Subject: [PATCH] Increase the timeout for spell-check tests (#21385) GitOrigin-RevId: 31013f9663a0464cfd22f32164e22f8d45e4c0d9 --- .../components/codemirror-editor-spellchecker-client.spec.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/web/test/frontend/features/source-editor/components/codemirror-editor-spellchecker-client.spec.tsx b/services/web/test/frontend/features/source-editor/components/codemirror-editor-spellchecker-client.spec.tsx index 325a589da6..a9f5514317 100644 --- a/services/web/test/frontend/features/source-editor/components/codemirror-editor-spellchecker-client.spec.tsx +++ b/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()