blob: e17fbcd0d5d133a77cb3f2bec978f80d236d2b04 [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from import page as page_module
from import shared_page_state
from telemetry import story
class AndroidAcceptancePage(page_module.Page):
def __init__(self, url, page_set, name=''):
super(AndroidAcceptancePage, self).__init__(
url=url, page_set=page_set, name=name,
# Android acceptance uses desktop.
credentials_path = 'data/credentials.json')
self.archive_data_file = 'data/android_acceptance.json'
def RunPageInteractions(self, action_runner):
class AndroidAcceptancePageSet(story.StorySet):
""" Pages used in android acceptance testing. """
def __init__(self):
super(AndroidAcceptancePageSet, self).__init__(
urls_list = [
for url in urls_list:
self.AddStory(AndroidAcceptancePage(url, self))