1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-06 23:36:31 +02:00

Increase timeout for markdown-shortcuts test for now (#4474)

This commit is contained in:
Bryan Haakman
2021-08-25 15:36:25 +02:00
committed by GitHub
parent 8a5a50d904
commit 781b7f795c

View File

@@ -15,8 +15,8 @@ describe('On markdown-shortcuts example', () => {
.should('not.exist') .should('not.exist')
cy.findByRole('textbox') cy.findByRole('textbox')
// need wait(0) here otherwise the page is not loaded yet correctly // need wait() here otherwise the slate component is not fully mounted yet sometimes
.wait(0) .wait(1000)
.type( .type(
'{movetostart}* 1st Item{enter}2nd Item{enter}3rd Item{enter}{backspace}' '{movetostart}* 1st Item{enter}2nd Item{enter}3rd Item{enter}{backspace}'
) )