Attempting to fix the broken test in TeamCity. I added a few more validations for wait for the elements before accessing them.