1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-06 07:17:27 +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')
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}'
)