Skip to content
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

Target element is null on chrome #19153

Closed
hadrien4789 opened this issue Nov 30, 2021 · 2 comments
Closed

Target element is null on chrome #19153

hadrien4789 opened this issue Nov 30, 2021 · 2 comments

Comments

@hadrien4789
Copy link

Current behavior

On chrome when I type into an input, the target element is null so no event are triggered where as on firefox I have a not null target element and event are triggered.

Desired behavior

The target element is the same whatever the navigator is.

Test code to reproduce

 cy.visit('https://dev.fournisseur-energie.com/comparator-form/')

cy.get('div#slide-0 > ppn-autocomplete')
 .shadow()
 .find('.input-text-container')
 .shadow()
 .find('#housing\\.address')
 .click()
 .type('2 rue lecourbe 75015 Paris',{ force : true})

Cypress Version

9.0.0

Other

No response

@sainthkh
Copy link
Contributor

sainthkh commented Dec 9, 2021

It's related with #19260. Change click() with click({position: 'top'}).

@sainthkh sainthkh added the stage: awaiting response Potential fix was proposed; awaiting response label Dec 9, 2021
@sainthkh
Copy link
Contributor

sainthkh commented Jan 3, 2022

Closing because of the inactivity.

@sainthkh sainthkh closed this as completed Jan 3, 2022
@sainthkh sainthkh removed the stage: awaiting response Potential fix was proposed; awaiting response label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants