Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: tools/perf/page_sets/simple_mobile_sites.py

Issue 441153002: Disable BenchmarkSmokeTest.thread_times.simple_mobile_sites (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 7
8 class SimplePage(page_module.Page): 8 class SimplePage(page_module.Page):
9 9
10 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
11 super(SimplePage, self).__init__(url=url, page_set=page_set) 11 super(SimplePage, self).__init__(url=url, page_set=page_set)
12 self.credentials_path = 'data/credentials.json' 12 self.credentials_path = 'data/credentials.json'
13 self.archive_data_file = 'data/simple_mobile_sites.json' 13 self.archive_data_file = 'data/simple_mobile_sites.json'
14 self.disabled = 'Times out on Windows; crbug.com/400922'
14 15
15 def RunNavigateSteps(self, action_runner): 16 def RunNavigateSteps(self, action_runner):
16 action_runner.NavigateToPage(self) 17 action_runner.NavigateToPage(self)
17 # TODO(epenner): Remove this wait (http://crbug.com/366933) 18 # TODO(epenner): Remove this wait (http://crbug.com/366933)
18 action_runner.Wait(5) 19 action_runner.Wait(5)
19 20
20 class SimpleScrollPage(SimplePage): 21 class SimpleScrollPage(SimplePage):
21 22
22 def __init__(self, url, page_set): 23 def __init__(self, url, page_set):
23 super(SimpleScrollPage, self).__init__(url=url, page_set=page_set) 24 super(SimpleScrollPage, self).__init__(url=url, page_set=page_set)
(...skipping 23 matching lines...) Expand all
47 'http://www.apple.com/mac/', 48 'http://www.apple.com/mac/',
48 'http://www.nyc.gov', 49 'http://www.nyc.gov',
49 'http://m.nytimes.com/', 50 'http://m.nytimes.com/',
50 'https://www.yahoo.com/', 51 'https://www.yahoo.com/',
51 'http://m.us.wsj.com/', 52 'http://m.us.wsj.com/',
52 ] 53 ]
53 54
54 for url in scroll_page_list: 55 for url in scroll_page_list:
55 self.AddPage(SimpleScrollPage(url, self)) 56 self.AddPage(SimpleScrollPage(url, self))
56 57
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698