Commit d41120d3 authored by Camillo Bruni's avatar Camillo Bruni Committed by Commit Bot

[perf] Add browse:news:nytimes:2018 system health story

Bug: 878390
Change-Id: I496645dbfe68a1e5603035647ad70167b1107164
Reviewed-on: https://chromium-review.googlesource.com/1236793
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: default avatarJuan Antonio Navarro Pérez <perezju@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595784}
parent 7fd4651e
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
"browse:news:nytimes": { "browse:news:nytimes": {
"DEFAULT": "system_health_desktop_015.wprgo" "DEFAULT": "system_health_desktop_015.wprgo"
}, },
"browse:news:nytimes:2018": {
"DEFAULT": "system_health_desktop_e2dd18933f.wprgo"
},
"browse:news:reddit": { "browse:news:reddit": {
"DEFAULT": "system_health_desktop_016.wprgo" "DEFAULT": "system_health_desktop_016.wprgo"
}, },
......
e2dd18933f9299be5ab9c827b1dc1bd33669ca0a
\ No newline at end of file
...@@ -196,6 +196,20 @@ class NytimesDesktopStory(_ArticleBrowsingStory): ...@@ -196,6 +196,20 @@ class NytimesDesktopStory(_ArticleBrowsingStory):
TAGS = [story_tags.YEAR_2016] TAGS = [story_tags.YEAR_2016]
class NytimesDesktopStory2018(_ArticleBrowsingStory):
"""
The third top website in http://www.alexa.com/topsites/category/News
Known Replay Errors:
- window.EventTracker is not loaded
- all network errors are related to ads
"""
NAME = 'browse:news:nytimes:2018'
URL = 'http://www.nytimes.com'
ITEM_SELECTOR = "a[href*='/2018/']"
SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
TAGS = [story_tags.YEAR_2018]
# Desktop qq.com opens a news item in a separate tab, for which the back button # Desktop qq.com opens a news item in a separate tab, for which the back button
# does not work. # does not work.
class QqMobileStory(_ArticleBrowsingStory): class QqMobileStory(_ArticleBrowsingStory):
......
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