You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@w1nklr I started investigating the issue and I managed to identify what is wrong. @equinor/eds-core-react changed from a portal implementation to the native HTML Popover API (which is relatively new, but supported in all major browsers now):
The Popover API, however, is not supported by jsdom yet (jsdom/jsdom#3721). That is why we got all these errors with undefined functions. This problem can be fixed by mocking the two methods showPopover and hidePopover.
However, there are some failing tests remaining. From what I have seen so far, they are all checking if the popover elements are visible and that doesn't seem to work. I haven't had the time yet to investigate further, maybe we can adjust the tests. Alternatively, we could also disable them or pin the @equinor/eds-core-react version to <0.41.3 until jsdom supports popovers.
Bumping @equinor/eds-core-react in /typescript fails.
Unit tests and smoke tests are failing. Snapshots from #2381 :
The text was updated successfully, but these errors were encountered: