diff --git a/cypress/e2e/util.ts b/cypress/e2e/util.ts index fa9040a8..e503577f 100644 --- a/cypress/e2e/util.ts +++ b/cypress/e2e/util.ts @@ -9,7 +9,7 @@ export const typeInEditor = ( text: string, { bottom = true, newline = false }: EditorOptions = {} ) => { - cy.get('#editor textarea:first').click(); + cy.get('#editor').click(); if (bottom) { cy.focused().type('{pageDown}'); }