| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 import py_utils | 5 import py_utils |
| 6 import logging | 6 import logging |
| 7 | 7 |
| 8 from page_sets.system_health import system_health_story | 8 from page_sets.system_health import system_health_story |
| 9 from page_sets.system_health import story_tags | 9 from page_sets.system_health import story_tags |
| 10 from page_sets.system_health import platforms | 10 from page_sets.system_health import platforms |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 % (i, url)) | 39 % (i, url)) |
| 40 | 40 |
| 41 def RunPageInteractions(self, action_runner): | 41 def RunPageInteractions(self, action_runner): |
| 42 for tab in action_runner.tab.browser.tabs: | 42 for tab in action_runner.tab.browser.tabs: |
| 43 tab.Activate() | 43 tab.Activate() |
| 44 tab.WaitForFrameToBeDisplayed() | 44 tab.WaitForFrameToBeDisplayed() |
| 45 | 45 |
| 46 | 46 |
| 47 @benchmark.Disabled('all') # crbug.com/704197 | 47 @benchmark.Disabled('all') # crbug.com/704197 |
| 48 class MultiTabTypical24Story(MultiTabStory): | 48 class MultiTabTypical24Story(MultiTabStory): |
| 49 """Load 24 different web sites in 24 tabs, then cycle through each tab.""" |
| 49 NAME = 'multitab:misc:typical24' | 50 NAME = 'multitab:misc:typical24' |
| 50 TAGS = [story_tags.TABS_SWITCHING] | 51 TAGS = [story_tags.TABS_SWITCHING] |
| 51 URL_LIST = [ | 52 URL_LIST = [ |
| 52 # Why: Alexa games #48 | 53 # Why: Alexa games #48 |
| 53 'http://www.nick.com/games', | 54 'http://www.nick.com/games', |
| 54 # Why: Alexa sports #45 | 55 # Why: Alexa sports #45 |
| 55 'http://www.rei.com/', | 56 'http://www.rei.com/', |
| 56 # Why: Alexa sports #50 | 57 # Why: Alexa sports #50 |
| 57 'http://www.fifa.com/', | 58 'http://www.fifa.com/', |
| 58 # Why: Alexa shopping #41 | 59 # Why: Alexa shopping #41 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 80 '1837448?brand=none&tm_link=tm_homeA_rc_name2'), | 81 '1837448?brand=none&tm_link=tm_homeA_rc_name2'), |
| 81 # pylint: disable=line-too-long | 82 # pylint: disable=line-too-long |
| 82 'http://www.theverge.com/2013/3/5/4061684/inside-ted-the-smartest-bubble-in-
the-world', | 83 'http://www.theverge.com/2013/3/5/4061684/inside-ted-the-smartest-bubble-in-
the-world', |
| 83 'http://www.airbnb.com/', | 84 'http://www.airbnb.com/', |
| 84 'http://www.ign.com/', | 85 'http://www.ign.com/', |
| 85 # Why: Alexa health #25 | 86 # Why: Alexa health #25 |
| 86 'http://www.fda.gov', | 87 'http://www.fda.gov', |
| 87 ] | 88 ] |
| 88 URL = URL_LIST[0] | 89 URL = URL_LIST[0] |
| 89 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 90 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
| OLD | NEW |