open-wc / open-wc

Open Web Components: guides, tools and libraries for developing web components.
https://open-wc.org/
MIT License
2.27k stars 423 forks source link

question: ScopedElements and semantic-dom-diff #1493

Open funglaub opened 4 years ago

funglaub commented 4 years ago

Hi,

I'm curious how scopedElements and snapshot testing can be combined?

The current issue is, that if a webcomponent renders another component and the tag definition is scoped via ScopedElementsMixin, the test fails since the actual tag name changes for every run.

Is there any smart solution to this I could not figure out myself? I would like to keep snapshot tests sind they bring a lot of coverage for different scenarios.

Thanks! Florian

stale[bot] commented 4 years ago

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!