| 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 system_health_story | 6 from page_sets.system_health import system_health_story |
| 7 from page_sets.system_health.loading_stories import LoadGmailMobileStory | 7 from page_sets.system_health.loading_stories import LoadGmailMobileStory |
| 8 | 8 |
| 9 from telemetry import decorators | 9 from telemetry import decorators |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 action_runner.TapElement(selector='.nytd-player-poster') | 71 action_runner.TapElement(selector='.nytd-player-poster') |
| 72 action_runner.Wait(_WAIT_FOR_VIDEO_SECONDS) | 72 action_runner.Wait(_WAIT_FOR_VIDEO_SECONDS) |
| 73 | 73 |
| 74 | 74 |
| 75 class BackgroundImgurMobileStory(_BackgroundStory): | 75 class BackgroundImgurMobileStory(_BackgroundStory): |
| 76 NAME = 'background:media:imgur' | 76 NAME = 'background:media:imgur' |
| 77 URL = 'http://imgur.com/gallery/hUita' | 77 URL = 'http://imgur.com/gallery/hUita' |
| 78 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY | 78 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY |
| 79 | 79 |
| 80 | 80 |
| 81 @decorators.Disabled('android') # crbug.com.com/664505 | 81 @decorators.Disabled('android') # crbug.com/676336 |
| 82 class BackgroundGmailMobileStory(LoadGmailMobileStory): | 82 class BackgroundGmailMobileStory(LoadGmailMobileStory): |
| 83 NAME = 'background:tools:gmail' | 83 NAME = 'background:tools:gmail' |
| 84 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY | 84 SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY |
| 85 | 85 |
| 86 def _Measure(self, action_runner): | 86 def _Measure(self, action_runner): |
| 87 action_runner.tab.browser.Background() | 87 action_runner.tab.browser.Background() |
| 88 super(BackgroundGmailMobileStory, self)._Measure(action_runner) | 88 super(BackgroundGmailMobileStory, self)._Measure(action_runner) |
| OLD | NEW |