Make Selenium tests aware of timeout when parsing time inputs

Change-Id: I9eefde35bb8875394f338131b90dbc890c6fe98e