Added wait for visibility of menu elements before clicking on them to
smoke tests.