| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 5 from telemetry.page import shared_page_state | 5 from telemetry.page import shared_page_state |
| 6 from telemetry import story | 6 from telemetry import story |
| 7 | 7 |
| 8 from page_sets import key_mobile_sites_pages | 8 from page_sets import key_mobile_sites_pages |
| 9 | 9 |
| 10 | 10 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 163 |
| 164 # Add pages with custom page interaction logic. | 164 # Add pages with custom page interaction logic. |
| 165 | 165 |
| 166 # Page behaves non-deterministically, replaced with test version for now. | 166 # Page behaves non-deterministically, replaced with test version for now. |
| 167 # self.AddStory(GroupClonedSmoothPage(self)) | 167 # self.AddStory(GroupClonedSmoothPage(self)) |
| 168 # mean_input_event_latency cannot be tracked correctly for | 168 # mean_input_event_latency cannot be tracked correctly for |
| 169 # GroupClonedListImagesPage. | 169 # GroupClonedListImagesPage. |
| 170 # See crbug.com/409086. | 170 # See crbug.com/409086. |
| 171 # self.AddStory(GroupClonedListImagesSmoothPage(self)) | 171 # self.AddStory(GroupClonedListImagesSmoothPage(self)) |
| 172 self.AddStory(GoogleNewsMobile2SmoothPage(self)) | 172 self.AddStory(GoogleNewsMobile2SmoothPage(self)) |
| 173 self.AddStory(AmazonNicolasCageSmoothPage(self)) | 173 # Amazon's Nicolas Cage search is currently failing. Reenable it once it's |
| 174 # not anymore. |
| 175 # crbug.com/667432 |
| 176 # self.AddStory(AmazonNicolasCageSmoothPage(self)) |
| 174 self.AddStory(CNNArticleSmoothPage(self)) | 177 self.AddStory(CNNArticleSmoothPage(self)) |
| 175 | 178 |
| 176 # Add pages with custom labels. | 179 # Add pages with custom labels. |
| 177 | 180 |
| 178 # Why: Top news site. | 181 # Why: Top news site. |
| 179 self.AddStory(KeyMobileSitesSmoothPage( | 182 self.AddStory(KeyMobileSitesSmoothPage( |
| 180 url='http://nytimes.com/', page_set=self, labels=['fastpath'])) | 183 url='http://nytimes.com/', page_set=self, labels=['fastpath'])) |
| 181 | 184 |
| 182 # Why: Image-heavy site. | 185 # Why: Image-heavy site. |
| 183 self.AddStory(KeyMobileSitesSmoothPage( | 186 self.AddStory(KeyMobileSitesSmoothPage( |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&' | 284 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&' |
| 282 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'), | 285 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'), |
| 283 # Why: Top search engine | 286 # Why: Top search engine |
| 284 'http://www.bing.com/search?q=sloths', | 287 'http://www.bing.com/search?q=sloths', |
| 285 # Why: Good example of poor initial scrolling | 288 # Why: Good example of poor initial scrolling |
| 286 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans' | 289 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans' |
| 287 ] | 290 ] |
| 288 | 291 |
| 289 for url in urls_list: | 292 for url in urls_list: |
| 290 self.AddStory(KeyMobileSitesSmoothPage(url, self)) | 293 self.AddStory(KeyMobileSitesSmoothPage(url, self)) |
| OLD | NEW |