I'm looking to test a text editor like https://github.com/brijeshb42/medium-draft using Cypress. But I can't find a way to select text using it. Does anyone have a clue on how to do that?
I'd have to select a specific text range in order for the test to be effective.
cy.text({selectall})
which should select all the element's text, then maybecy.text({selectall}{rightarrow}{rightarrow})
gives you partial selection. – Richard Matsen