| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from page_sets.system_health import platforms | 5 from page_sets.system_health import platforms |
| 6 from page_sets.system_health import story_tags | 6 from page_sets.system_health import story_tags |
| 7 from page_sets.system_health import system_health_story | 7 from page_sets.system_health import system_health_story |
| 8 | 8 |
| 9 from devil.android.sdk import keyevent # pylint: disable=import-error | 9 from devil.android.sdk import keyevent # pylint: disable=import-error |
| 10 | 10 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 app_ui.WaitForUiNode(resource_id='search_box').Tap() | 80 app_ui.WaitForUiNode(resource_id='search_box').Tap() |
| 81 platform.android_action_runner.InputText(keyword) | 81 platform.android_action_runner.InputText(keyword) |
| 82 platform.android_action_runner.InputKeyEvent(keyevent.KEYCODE_ENTER) | 82 platform.android_action_runner.InputKeyEvent(keyevent.KEYCODE_ENTER) |
| 83 action_runner.WaitForNavigate() | 83 action_runner.WaitForNavigate() |
| 84 action_runner.Wait(1.5) # Read results | 84 action_runner.Wait(1.5) # Read results |
| 85 action_runner.ScrollPage(use_touch=True) | 85 action_runner.ScrollPage(use_touch=True) |
| 86 action_runner.NavigateBack() | 86 action_runner.NavigateBack() |
| 87 action_runner.WaitForNavigate() | 87 action_runner.WaitForNavigate() |
| 88 | 88 |
| 89 app_ui.WaitForUiNode(resource_id='menu_button').Tap() | 89 app_ui.WaitForUiNode(resource_id='menu_button').Tap() |
| 90 app_ui.WaitForUiNode(resource_id='menu_item_text') | 90 app_ui.WaitForUiNode(content_desc='New tab') |
| OLD | NEW |