Open aymanapatel opened 2 years ago
Ref: INT-2913
To the best of my knowledge we have no documentation on working with Cypress. I will forward this to the tinymce-docs repo as that request is not relevant to the tinymce-react integration.
I have no experience with Cypress. To see if I could help I tried writing an e2e test that selected the editor and typed ( cy.get('div.tox-tinymce iframe').type('Hello')
) but as you reported nothing happened. Additionally when trying to review the steps of the test I found that Cypress would delete the editor iframe content leading to a completely broken editor. I have not found a workaround.
@tiny-james Any update on getting some docs for this? Would be nice to get some guidance as my company is a paid client of TinyMCE. There's a quite old example repo at https://github.com/ForeachOS/cypress-tinymce/tree/master and a somewhat related blog at https://www.tiny.cloud/blog/how-to-get-content-and-set-content-in-tinymce/. cc @aymanapatel
Hi Team,
I am trying to use Cypress for e2e automation. I am unable to insert content to TinyMCE Editor using
cy.type
method. Is there a documentation for using TinyMCE in Cypress?