-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strings end with '\n' cause Chrome only test failures #3907
Comments
Thank you so much for opening such a detailed issue.` Verified this is failing in Also verified this is failing in @bahmutov Are we running our tests against Chrome 64? Because this is quite old now. This should stay up to date with latest Chrome release. https://github.com/cypress-io/cypress/blob/master/circle.yml#L26 |
@jennifer-shehane Could we close this issue? The tests have been run against Chrome in addition to Electron. |
Closing as resolved. If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix. |
Current behavior:
The following tests from
tests/integration/commands/actions/type_spec.coffee
fail on Chrome 73 but pass on Electron 59:can wrap cursor to next line in [contenteditable] with {rightarrow}
can wrap cursor to prev line in [contenteditable] with {leftarrow}failed
can use {rightarrow} and nested elementsfailed
enter and \n should act the same for [contenteditable]
can type into [contenteditable] with existing <div>
can type into [contenteditable] with existing <p>failed
collapses selection to start on {leftarrow}
collapses selection to end on {rightarrow}
should move cursor to the start of each line in contenteditable
should move cursor to the end of each line in contenteditable
up and down arrow on contenteditablefailed
downarrow ignores current selectionfailed
inserts new line into [contenteditable]
inserts new line into [contenteditable] from midline
The test failures have a common pattern: The expected result strings all end with
\n
but the actual result does not end with\n
.Desired behavior:
All tests from
type_spec.coffee
pass on both Chrome and Electron.Steps to reproduce: (app code and test code)
develop
branch.Terminal 1:
cd cypress/package/driver npm start
Terminal 2:
cd cypress/package/runner npm run watch
Terminal 3:
cd cypress/packages/driver npm run cypress:open
type_spec.coffee
under command > actions.Versions
Chrome Version 73.0.3683.103 (Official Build) (64-bit)
Mac OS (latest released version)
Cypress 3.2.0
The text was updated successfully, but these errors were encountered: