johanneswuerbach / backstage-plugin-techdocs-addon-mermaid

Backstage TechDocs Mermaid Addon
MIT License
46 stars 20 forks source link

add manual detect method. fixes #23 #25

Closed jedelson-pagerduty closed 1 year ago

jedelson-pagerduty commented 1 year ago

I could not figure out how to get the test to pass. It produces this:

TestingLibraryElementError: Unable to find an element by: [data-testid="techdocs-native-shadowroot"]

So I've left the test as skipped.

johanneswuerbach commented 1 year ago

how to get the test to pass

Last time I checked mermaid wasn't able to render inside the test dom, so I fear that this isn't easily testable.

johanneswuerbach commented 1 year ago

Released as v0.6.2, thanks for adding this 🤩