Waiting for elements on HeaderPageTest and changed some methods in TeamIndexPage to align with the new mapping.