cypress-recorder-extension icon indicating copy to clipboard operation
cypress-recorder-extension copied to clipboard

Actions in web component (shadow dom) are not recorded

Open yi-yang-github opened this issue 3 years ago • 1 comments

Hi there,

I'm developing a web component, say <my-component />, which needs me to enter my address then pickup suggestions from mapbox etc. So the test is a bit complicated and I want to be able to use a Cypress recorder to export it.

However, after I did my thing and choose "export as Cypress", it only has the first click on the web component, but doesn't have any of the actions I did inside my component, making it useless.

Note that if I export as Puppeteer or JSON, they works fine. Only the Cypress export doesn't work.

yi-yang-github avatar Sep 03 '22 01:09 yi-yang-github

+1 I'd like to use the recorder for testing a chrome extension UI I insert into a web page. Of course this one is sheltered in a shadow dom form the rest of the page.

addeective avatar Feb 15 '23 09:02 addeective