Change toHaveText to handle Shadow DOM with multiple insertion points