Commit 81d6ee90 authored by ariblue's avatar ariblue Committed by Commit bot

The TBM WillRunUserStory must run after the android app has launched.

BUG=

Review URL: https://codereview.chromium.org/850833002

Cr-Commit-Position: refs/heads/master@{#311391}
parent e4462c0e
...@@ -52,10 +52,10 @@ class SharedAppState(shared_user_story_state.SharedUserStoryState): ...@@ -52,10 +52,10 @@ class SharedAppState(shared_user_story_state.SharedUserStoryState):
def WillRunUserStory(self, user_story): def WillRunUserStory(self, user_story):
assert not self._android_app assert not self._android_app
self._test.WillRunUserStory(self._android_platform.tracing_controller)
self._current_user_story = user_story self._current_user_story = user_story
self._android_app = self._android_platform.LaunchAndroidApplication( self._android_app = self._android_platform.LaunchAndroidApplication(
user_story.start_intent, user_story.is_app_ready_predicate) user_story.start_intent, user_story.is_app_ready_predicate)
self._test.WillRunUserStory(self._android_platform.tracing_controller)
def RunUserStory(self, results): def RunUserStory(self, results):
self._current_user_story.Run(self) self._current_user_story.Run(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment