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.
4 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module
8 class ToughFiltersCasesPage(page_module.Page):
10 def RunSmoothness(self, action_runner):
11 action_runner.Wait(10)
14 class PirateMarkPage(page_module.Page):
16 def RunSmoothness(self, action_runner):
17 action_runner.EvaluateJavaScript(
18 'document.getElementById("benchmarkButtonText").click()')
19 action_runner.Wait(10)
21 class ToughFiltersCasesPageSet(page_set_module.PageSet):
24 Description: Self-driven filters animation examples
28 super(ToughFiltersCasesPageSet, self).__init__(
29 archive_data_file='data/tough_filters_cases.json',
30 bucket=page_set_module.PARTNER_BUCKET)
33 'http://letmespellitoutforyou.com/samples/svg/filter_terrain.svg',
34 'http://static.bobdo.net/Analog_Clock.svg',
38 self.AddPage(ToughFiltersCasesPage(url, self))
40 self.AddPage(PirateMarkPage(
41 'http://ie.microsoft.com/testdrive/Performance/Pirates/', self))