You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The virtual keyboard inputs does not work as expected, especially regarding the meta keys. In the specific case of the ENTER key, the expected line feed doesn't seem to be outputted at all on the Froala editor.
Considering the example stringto be outputted by Cypress in the Froala Editor:
Hello{enter}{enter}{enter}world!
Then the result is actually looking like this:
Desired behavior:
When running my end-to-end tests with Cypress on a webpage including a Froala editor, the virtual keyboard inputs should behave as a real.
If the test run by Cypress inputs the following string (same as above) in the Froala editor:
Hello{enter}{enter}{enter}world!
I intend to get 3 line feeds between Hello and world!, producing an inner HTML looking like this:
<p>Hello</p><p><br></p><p><br></p><p>world!</p>
The result should look like following in an actual webpage:
Steps to reproduce:
I made a simple GitHub repository that repoduces the problem live.
Clone https://github.com/jack-in-the-box/froala-vs-cypress.git with git
At the root of the produced folder, run npm run gui (this installs the dependencies of Cypress and then, runs its GUI)
Click on the froala.spec.js link:
Cypress runs the test on Chrome 67 for you
The actual routine of the test can be seen on the file cypress/integration/froala.spec.js
Versions
Latest version of Cypress, on Ubuntu, running Google Chrome 67
The text was updated successfully, but these errors were encountered:
e7d
changed the title
Froala (WYSIWYG HTML Editor) does not read correctly the virtual keyboard input of Cypress (end-to-end testing framework)
Froala (WYSIWYG HTML Editor) does not read correctly the virtual keyboard input of Cypress
Jul 4, 2018
Current behavior:
The virtual keyboard inputs does not work as expected, especially regarding the meta keys. In the specific case of the ENTER key, the expected line feed doesn't seem to be outputted at all on the Froala editor.
Considering the example stringto be outputted by Cypress in the Froala Editor:
Then the result is actually looking like this:

Desired behavior:
When running my end-to-end tests with Cypress on a webpage including a Froala editor, the virtual keyboard inputs should behave as a real.
If the test run by Cypress inputs the following string (same as above) in the Froala editor:
I intend to get 3 line feeds between
Hello
andworld!
, producing an inner HTML looking like this:The result should look like following in an actual webpage:

Steps to reproduce:
I made a simple GitHub repository that repoduces the problem live.
https://github.com/jack-in-the-box/froala-vs-cypress.git
with gitnpm run gui
(this installs the dependencies of Cypress and then, runs its GUI)froala.spec.js
link:cypress/integration/froala.spec.js
Versions
Latest version of Cypress, on Ubuntu, running Google Chrome 67
The text was updated successfully, but these errors were encountered: