[Android WebViewShell] Add inclusion test for webview exposed stable interfaces.
[chromium-blink-merge.git] / tools / perf / page_sets / maps.py
blobe6b63e602ba9535f452111e333fd7f5a860e2405
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
3 # found in the LICENSE file.
5 from telemetry.page import page as page_module
6 from telemetry import story
8 from page_sets import webgl_supported_shared_state
11 class MapsPage(page_module.Page):
13 def __init__(self, page_set):
14 super(MapsPage, self).__init__(
15 url='http://localhost:10020/tracker.html',
16 page_set=page_set,
17 name='Maps.maps_002',
18 shared_page_state_class=(
19 webgl_supported_shared_state.WebGLSupportedSharedState))
20 self.archive_data_file = 'data/maps.json'
22 @property
23 def skipped_gpus(self):
24 # Skip this intensive test on low-end devices. crbug.com/464731
25 return ['arm']
27 def RunNavigateSteps(self, action_runner):
28 super(MapsPage, self).RunNavigateSteps(action_runner)
29 action_runner.Wait(3)
31 def RunPageInteractions(self, action_runner):
32 with action_runner.CreateInteraction('MapAnimation'):
33 action_runner.WaitForJavaScriptCondition('window.testDone', 120)
36 class MapsPageSet(story.StorySet):
38 """ Google Maps examples """
40 def __init__(self):
41 super(MapsPageSet, self).__init__(
42 archive_data_file='data/maps.json',
43 cloud_storage_bucket=story.PUBLIC_BUCKET)
45 self.AddStory(MapsPage(self))