dimanche 30 août 2020

How to delete or replace text on monaco editor using testcafe?

I'm writing some tests with testcafe. I have monaco editor field in with some text, I want to delete the text and insert another text or just override the text that I have. I tried this code and it inserts "someText" after the characters on the first line. I used this line of code:

await t.typeText(Selector('.parent-class .inputarea'), someText);

any idea?

Aucun commentaire:

Enregistrer un commentaire