Stop execution for unexpected exceptions like KeyboardInterrupt...
We "white list" some exceptions which user story runner can continue running
the rest of user stories even if they are raised during the test run.
Those exceptions are:
page_test.Failure
util.TimeoutException
exceptions.LoginException
exceptions.ProfilingException
page_action.PageActionNotSupported
exceptions.AppCrashException (except if this is thrown inside
shared_user_story_state.state.TearDownState(), which indicates a failure of
recovering the test state)
BUG=
437735
Committed:
https://crrev.com/68084e84746b6eebd9103be0f441c4e6441fbd15
Cr-Commit-Position: refs/heads/master@{#308258}