1 # Copyright 2015 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
import story
7 class ToughAnimatedImageCasesPage(page_module
.Page
):
9 def __init__(self
, url
, page_set
):
10 super(ToughAnimatedImageCasesPage
, self
).__init
__(
11 url
=url
, page_set
=page_set
)
13 def RunPageInteractions(self
, action_runner
):
14 with action_runner
.CreateInteraction('ToughAnimatedImage'):
15 action_runner
.Wait(10)
17 class ToughAnimatedImageCasesPageSet(story
.StorySet
):
20 Description: A collection of difficult animated image tests
24 super(ToughAnimatedImageCasesPageSet
, self
).__init
__()
27 'file://tough_animated_image_cases/gifs.html'
31 self
.AddStory(ToughAnimatedImageCasesPage(url
, self
))