| 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  |    7  | 
|    8 from page_sets.login_helpers import pinterest_login |    8 from page_sets.login_helpers import pinterest_login | 
|    9  |    9  | 
|   10 from telemetry import decorators |   10 from telemetry import decorators | 
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  127  |  127  | 
|  128  |  128  | 
|  129 class FlipboardDesktopStory(_NewsBrowsingStory): |  129 class FlipboardDesktopStory(_NewsBrowsingStory): | 
|  130   NAME = 'browse:news:flipboard' |  130   NAME = 'browse:news:flipboard' | 
|  131   URL = 'https://flipboard.com/explore' |  131   URL = 'https://flipboard.com/explore' | 
|  132   IS_SINGLE_PAGE_APP = True |  132   IS_SINGLE_PAGE_APP = True | 
|  133   ITEM_SELECTOR = '.cover-image' |  133   ITEM_SELECTOR = '.cover-image' | 
|  134   SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |  134   SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY | 
|  135  |  135  | 
|  136  |  136  | 
|  137 @decorators.Disabled('win') # crbug.com/657665 |  137 @decorators.Disabled('linux', 'win') # crbug.com/657665 crbug.com/665007 | 
|  138 class HackerNewsStory(_NewsBrowsingStory): |  138 class HackerNewsStory(_NewsBrowsingStory): | 
|  139   NAME = 'browse:news:hackernews' |  139   NAME = 'browse:news:hackernews' | 
|  140   URL = 'https://news.ycombinator.com' |  140   URL = 'https://news.ycombinator.com' | 
|  141   ITEM_SELECTOR = '.athing .title > a' |  141   ITEM_SELECTOR = '.athing .title > a' | 
|  142  |  142  | 
|  143  |  143  | 
|  144 class NytimesMobileStory(_NewsBrowsingStory): |  144 class NytimesMobileStory(_NewsBrowsingStory): | 
|  145   """The third top website in http://www.alexa.com/topsites/category/News""" |  145   """The third top website in http://www.alexa.com/topsites/category/News""" | 
|  146   NAME = 'browse:news:nytimes' |  146   NAME = 'browse:news:nytimes' | 
|  147   URL = 'http://mobile.nytimes.com' |  147   URL = 'http://mobile.nytimes.com' | 
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  362       inner_save_function = 'document.querySelector(".nameAndIcons")' |  362       inner_save_function = 'document.querySelector(".nameAndIcons")' | 
|  363       action_runner.WaitForElement(element_function=inner_save_function) |  363       action_runner.WaitForElement(element_function=inner_save_function) | 
|  364       action_runner.ClickElement(element_function=inner_save_function) |  364       action_runner.ClickElement(element_function=inner_save_function) | 
|  365       action_runner.Wait(1)  # Wait to make navigation realistic. |  365       action_runner.Wait(1)  # Wait to make navigation realistic. | 
|  366  |  366  | 
|  367     # Close selection. |  367     # Close selection. | 
|  368     x_element_function = ('document.querySelector(' |  368     x_element_function = ('document.querySelector(' | 
|  369                           '".Button.borderless.close.visible")') |  369                           '".Button.borderless.close.visible")') | 
|  370     action_runner.ClickElement(element_function=x_element_function) |  370     action_runner.ClickElement(element_function=x_element_function) | 
|  371     action_runner.Wait(1)  # Wait to make navigation realistic. |  371     action_runner.Wait(1)  # Wait to make navigation realistic. | 
| OLD | NEW |