Some regressions were introduced in 3.5 in type() behavior when interacting with selection (selectall / unselect).
Current behavior:
The issue happens in a rich text editor where we are making a text bold by triggering:
{selectall} to select the typed text
{ctrl}B one time to start
- unselecting by triggering {rightarrow}.
{ctrl}B a second time to stop
It seems:
- the content is not unselected by triggering
{rightarrow}.
- the
{ctrl} is ignored, only B is triggered
Steps to reproduce: (app code and test code)
In a rich text editor supporting this command.
- Type:
Hello{selectall}{ctrl}B{rightarrow}{ctrl}B world!
- Desired behavior < 3.5: Hello World !
- Current behavior >= 3.5: B World!
Work in progress, currently trying to generate a minimum reproduction.
Sources
Versions
Introduced in Cypress 3.5, still happening in 3.6. Linux / Mac OS.
Some regressions were introduced in 3.5 in
type()behavior when interacting with selection (selectall / unselect).Current behavior:
The issue happens in a rich text editor where we are making a text bold by triggering:
{selectall}to select the typed text{ctrl}Bone time to start{ctrl}Ba second time to stopIt seems:
{rightarrow}.{ctrl}is ignored, onlyBis triggeredSteps to reproduce: (app code and test code)
In a rich text editor supporting this command.
Hello{selectall}{ctrl}B{rightarrow}{ctrl}B world!Work in progress, currently trying to generate a minimum reproduction.
Sources
Versions
Introduced in Cypress 3.5, still happening in 3.6. Linux / Mac OS.