From 781b7f795c110d1cefa38d451dd1a0c54f70ab68 Mon Sep 17 00:00:00 2001 From: Bryan Haakman Date: Wed, 25 Aug 2021 15:36:25 +0200 Subject: [PATCH] Increase timeout for markdown-shortcuts test for now (#4474) --- cypress/integration/examples/markdown-shortcuts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/examples/markdown-shortcuts.ts b/cypress/integration/examples/markdown-shortcuts.ts index e58da15a4..c26fb93fa 100644 --- a/cypress/integration/examples/markdown-shortcuts.ts +++ b/cypress/integration/examples/markdown-shortcuts.ts @@ -15,8 +15,8 @@ describe('On markdown-shortcuts example', () => { .should('not.exist') cy.findByRole('textbox') - // need wait(0) here otherwise the page is not loaded yet correctly - .wait(0) + // need wait() here otherwise the slate component is not fully mounted yet sometimes + .wait(1000) .type( '{movetostart}* 1st Item{enter}2nd Item{enter}3rd Item{enter}{backspace}' )