I am currently trying to test a datepicker created with https://github.com/rnwonder/solid-date-picker with testing-libary. However I am not quite sure how to select the actual picker. It seems to get rendered into a div with the id
portal-island
portal-island
, which also shows up in my test, but without its contents. What would be the general way to test this? I also tried to jsut use
querySelector
querySelector
but am not sure, how to get the correct container element to attach the querySelector to.