Add waitForSelector to text-wrap test