This commit is contained in:
Sidharth Vinod
2023-04-13 17:51:47 +05:30
parent b5ae544932
commit b770dd46d5
+1 -1
View File
@@ -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}');
}