| Index: tools/perf/page_sets/key_mobile_sites_smooth.py
|
| diff --git a/tools/perf/page_sets/key_mobile_sites_smooth.py b/tools/perf/page_sets/key_mobile_sites_smooth.py
|
| index 200915991c0fa738fa683a25019fca8383ac6697..1891b118f6d36b2799bd60687a8c2934505b402a 100644
|
| --- a/tools/perf/page_sets/key_mobile_sites_smooth.py
|
| +++ b/tools/perf/page_sets/key_mobile_sites_smooth.py
|
| @@ -125,6 +125,14 @@ class AmazonNicolasCageSmoothPage(
|
| selector='#search',
|
| distance_expr='document.body.scrollHeight - window.innerHeight')
|
|
|
| +class CNNArticleSmoothPage(
|
| + key_mobile_sites_pages.CnnArticlePage):
|
| +
|
| + def RunPageInteractions(self, action_runner):
|
| + with action_runner.CreateGestureInteraction('ScrollAction'):
|
| + # With default top_start_ratio=0.5 the corresponding element in this page
|
| + # will not be in the root scroller.
|
| + action_runner.ScrollPage(top_start_ratio=0.01)
|
|
|
| class KeyMobileSitesSmoothPageSet(story.StorySet):
|
|
|
| @@ -140,7 +148,6 @@ class KeyMobileSitesSmoothPageSet(story.StorySet):
|
| predefined_page_classes = [
|
| key_mobile_sites_pages.CapitolVolkswagenPage,
|
| key_mobile_sites_pages.TheVergeArticlePage,
|
| - key_mobile_sites_pages.CnnArticlePage,
|
| key_mobile_sites_pages.FacebookPage,
|
| key_mobile_sites_pages.YoutubeMobilePage,
|
| key_mobile_sites_pages.YahooAnswersPage,
|
| @@ -164,6 +171,7 @@ class KeyMobileSitesSmoothPageSet(story.StorySet):
|
| # self.AddStory(GroupClonedListImagesSmoothPage(self))
|
| self.AddStory(GoogleNewsMobile2SmoothPage(self))
|
| self.AddStory(AmazonNicolasCageSmoothPage(self))
|
| + self.AddStory(CNNArticleSmoothPage(self))
|
|
|
| # Add pages with custom labels.
|
|
|
|
|