Delete no longer needed pagesets, add new pagesets and make names more readable
Deleted all pagesets mentioned in https://code.google.com/p/skia/issues/detail?id=3574#c18 Added new Wikipedia and Unicodetable pagesets from https://code.google.com/p/skia/issues/detail?id=3574#c19 BUG=skia:3574 NOTRY=true Review URL: https://codereview.chromium.org/1053253003
This commit is contained in:
parent
eef5b3eb12
commit
80bd3ae9d7
@ -1,42 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path = 'data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_amazon_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaAmazonDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaAmazonDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_amazon_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #1 world commerce website by visits; #3 commerce in the US by time
|
||||
# spent.
|
||||
'http://www.amazon.com',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,43 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_androidpolice_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaAndroidpoliceNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaAndroidpoliceNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_androidpolice_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: for Clank CY.
|
||||
('http://www.androidpolice.com/2012/10/03/rumor-evidence-mounts-that-an-'
|
||||
'lg-optimus-g-nexus-is-coming-along-with-a-nexus-phone-certification-'
|
||||
'program/'),
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,42 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_baidu_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(90)
|
||||
|
||||
|
||||
class SkiaBaiduDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaBaiduDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_baidu_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #5 (Alexa) most visited worldwide.
|
||||
('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&'
|
||||
'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'),
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,42 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_blogger_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaBloggerDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaBloggerDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_blogger_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #11 (Alexa global), google property; some blogger layouts have
|
||||
# infinite scroll but more interesting
|
||||
'http://googlewebmastercentral.blogspot.com/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_cnet_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaCnetNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaCnetNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_cnet_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: from klobag.
|
||||
'http://www.cnet.com/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_cnn_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaCnnNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaCnnNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_cnn_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #2 news worldwide.
|
||||
'http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index.html',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,44 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_culturalsolutions_nexus10.json'
|
||||
|
||||
def RunSmoothness(self, action_runner):
|
||||
action_runner.ScrollElement()
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaCulturalsolutionsNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaCulturalsolutionsNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_culturalsolutions_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: from parallax scrolling thread.
|
||||
'http://culturalsolutions.co.uk/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_deviantart_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaDeviantartNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaDeviantartNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_deviantart_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: from caryclark
|
||||
'http://www.deviantart.com/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,43 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_ebay_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaEbayDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaEbayDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_ebay_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #1 commerce website by time spent by users in US.
|
||||
('http://www.ebay.com/ctg/Harry-Potter-and-Deathly-Hallows-Year-7-J-K-'
|
||||
'Rowling-2007-Cassette-Unabridged-/123341182?_dmpt=US_Childrens_Books'
|
||||
'&_pcategid=279&_pcatid=4&_refkw=harry+potter+and+the+deathly+hallows'),
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_engadget_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaEngadgetNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaEngadgetNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_engadget_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: from klobag.
|
||||
'http://www.engadget.com/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,46 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json'
|
||||
)
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_facebook_desktop.json'
|
||||
self.credentials = 'facebook'
|
||||
|
||||
def RunSmoothness(self, action_runner):
|
||||
action_runner.ScrollElement()
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaFacebookDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaFacebookDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_facebook_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: Top social, public profile.
|
||||
'http://www.facebook.com/barackobama',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_fontwipe_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaFontwipeDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaFontwipeDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_fontwipe_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: Page from Chromium's silk test cases.
|
||||
'http://jsfiddle.net/u324ffkq/embedded/result/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_forecastio_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaForecastioDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaForecastioDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_forecastio_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: Page from Chromium's silk test cases
|
||||
'http://forecast.io?tap',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_googleblog_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaGoogleblogNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaGoogleblogNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_googleblog_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: for Clank CY
|
||||
'http://googleblog.blogspot.co.uk/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,42 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_googlecalendar_nexus10.json'
|
||||
self.credentials = 'google'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaGooglecalendarNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaGooglecalendarNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_googlecalendar_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: productivity, top google properties
|
||||
'https://www.google.com/calendar/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_googleplus_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaGoogleplusDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaGoogleplusDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_googleplus_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: social; top google property; Public profile; infinite scrolls
|
||||
'https://plus.google.com/110031535020051778989/posts',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_gspro_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaGsproNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaGsproNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_gspro_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: for Clank CY
|
||||
'http://www.gsp.ro/click-less-think-more',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,44 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_gws_desktop.json'
|
||||
|
||||
def RunSmoothness(self, action_runner):
|
||||
action_runner.ScrollElement()
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaGwsDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaGwsDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_gws_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: top google property; a google tab is often open
|
||||
'https://www.google.com/#hl=en&q=barack+obama',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_hsfi_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaHsfiNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaHsfiNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_hsfi_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: for Clank CY
|
||||
'http://www.hs.fi/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,44 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_jsfiddlehumperclip_desktop.json'
|
||||
|
||||
def RunSmoothness(self, action_runner):
|
||||
action_runner.ScrollElement()
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaJsfiddlehumperclipDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaJsfiddlehumperclipDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_jsfiddlehumperclip_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: Page from Chromium's silk test cases.
|
||||
'http://jsfiddle.net/humper/cKB9D/3/embedded/result/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_linkedin_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaLinkedinDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaLinkedinDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_linkedin_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #12 (Alexa global), public profile
|
||||
'http://www.linkedin.com/in/linustorvalds',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_mlb_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaMlbNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaMlbNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_mlb_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: from Arrow scrolling thread
|
||||
'http://mlb.mlb.com/index.jsp',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_mobilenews_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaMobilenewsDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaMobilenewsDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_mobilenews_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: Page from Chromium's silk test cases.
|
||||
'http://mobile-news.sandbox.google.com/news',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_nofolo_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaNofoloNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaNofoloNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_nofolo_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: http://code.google.com/p/chromium/issues/detail?id=136555
|
||||
'http://nofolo.com/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_pinterest_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaPinterestDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaPinterestDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_pinterest_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #37 Alexa global
|
||||
'http://pinterest.com',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_sahadan_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaSahadanNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaSahadanNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_sahadan_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: from Tom W's list
|
||||
'http://www.sahadan.com/canli_sonuclar/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_sfgate_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaSfgateDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaSfgateDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_sfgate_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: from Arrow scrolling thread
|
||||
'http://www.sfgate.com/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_silkfinance_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaSilkfinanceDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaSilkfinanceDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_silkfinance_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: Page from Chromium's silk test cases
|
||||
'http://jsfiddle.net/47ftse2x/embedded/result/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_slashdot_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaSlashdotNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaSlashdotNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_slashdot_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why:
|
||||
'http://slashdot.org/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_techmeme_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaTechmemeNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaTechmemeNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_techmeme_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: from klobag
|
||||
'http://techmeme.com/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_twitter_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaTwitterDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaTwitterDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_twitter_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #8 (Alexa global), picked an interesting page
|
||||
'http://twitter.com/katyperry',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'tablet'
|
||||
self.archive_data_file = 'data/skia_ukwsj_nexus10.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaUkwsjNexus10PageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaUkwsjNexus10PageSet, self).__init__(
|
||||
user_agent_type='tablet',
|
||||
archive_data_file='data/skia_ukwsj_nexus10.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: for Clank CY
|
||||
'http://uk.wsj.com/home-page',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Copyright 2015 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
@ -16,25 +16,26 @@ class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_yahooanswers_desktop.json'
|
||||
self.archive_data_file = 'data/skia_unicodetable_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
action_runner.ScrollPage(distance=100000)
|
||||
action_runner.Wait(20)
|
||||
|
||||
|
||||
class SkiaYahooanswersDesktopPageSet(page_set_module.PageSet):
|
||||
class SkiaUnicodetableDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaYahooanswersDesktopPageSet, self).__init__(
|
||||
super(SkiaUnicodetableDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_yahooanswers_desktop.json')
|
||||
archive_data_file='data/skia_unicodetable_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #1 Alexa reference
|
||||
'http://answers.yahoo.com',
|
||||
# Why: stress tests for fonts (from skia:3574).
|
||||
'http://unicode-table.com/en/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_weather_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(15)
|
||||
|
||||
|
||||
class SkiaWeatherDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaWeatherDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_weather_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #7 Alexa news; #27 total time spent, picked interesting page
|
||||
'http://www.weather.com/weather/right-now/Mountain+View+CA+94043',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Copyright 2015 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
@ -16,25 +16,21 @@ class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_booking_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
self.archive_data_file = 'data/skia_wikipedia_desktop.json'
|
||||
|
||||
|
||||
class SkiaBookingDesktopPageSet(page_set_module.PageSet):
|
||||
class SkiaWikipediaDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaBookingDesktopPageSet, self).__init__(
|
||||
super(SkiaWikipediaDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_booking_desktop.json')
|
||||
archive_data_file='data/skia_wikipedia_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #1 Alexa recreation.
|
||||
'http://booking.com',
|
||||
# Why: stress tests for fonts (from skia:3574).
|
||||
'http://www.wikipedia.org/',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
@ -1,42 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_wordpress_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(5)
|
||||
|
||||
|
||||
class SkiaWordpressDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaWordpressDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_wordpress_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #18 (Alexa global), Picked an interesting post.
|
||||
('http://en.blog.wordpress.com/2012/09/04/'
|
||||
'freshly-pressed-editors-picks-for-august-2012/'),
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -1,41 +0,0 @@
|
||||
# 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.
|
||||
# pylint: disable=W0401,W0614
|
||||
|
||||
|
||||
from telemetry.page import page as page_module
|
||||
from telemetry.page import page_set as page_set_module
|
||||
|
||||
|
||||
class SkiaBuildbotDesktopPage(page_module.Page):
|
||||
|
||||
def __init__(self, url, page_set):
|
||||
super(SkiaBuildbotDesktopPage, self).__init__(
|
||||
url=url,
|
||||
page_set=page_set,
|
||||
credentials_path='data/credentials.json')
|
||||
self.user_agent_type = 'desktop'
|
||||
self.archive_data_file = 'data/skia_youtube_desktop.json'
|
||||
|
||||
def RunNavigateSteps(self, action_runner):
|
||||
action_runner.NavigateToPage(self)
|
||||
action_runner.Wait(25)
|
||||
|
||||
|
||||
class SkiaYoutubeDesktopPageSet(page_set_module.PageSet):
|
||||
|
||||
""" Pages designed to represent the median, not highly optimized web """
|
||||
|
||||
def __init__(self):
|
||||
super(SkiaYoutubeDesktopPageSet, self).__init__(
|
||||
user_agent_type='desktop',
|
||||
archive_data_file='data/skia_youtube_desktop.json')
|
||||
|
||||
urls_list = [
|
||||
# Why: #3 (Alexa global)
|
||||
'http://www.youtube.com/watch?v=PC57z-oDPLs',
|
||||
]
|
||||
|
||||
for url in urls_list:
|
||||
self.AddUserStory(SkiaBuildbotDesktopPage(url, self))
|
@ -386,7 +386,7 @@ class SkPicturePlayback(object):
|
||||
# /path/to/http___mobile_news_sandbox_pt0 -> http___mobile_news_sandbox_pt0
|
||||
_, webpage = os.path.split(site)
|
||||
# http___mobile_news_sandbox_pt0 -> mobile_news_sandbox_pt0
|
||||
for prefix in ('http___', 'https___'):
|
||||
for prefix in ('http___', 'https___', 'www_'):
|
||||
if webpage.startswith(prefix):
|
||||
webpage = webpage[len(prefix):]
|
||||
# /path/to/skia_yahooanswers_desktop.py -> skia_yahooanswers_desktop.py
|
||||
@ -407,6 +407,7 @@ class SkPicturePlayback(object):
|
||||
filename = self._GetChromiumSkpFileName(page_set, site)
|
||||
else:
|
||||
filename = self._GetSkiaSkpFileName(page_set)
|
||||
filename = filename.lower()
|
||||
|
||||
# We choose the largest .skp as the most likely to be interesting.
|
||||
largest_skp = max(glob.glob(os.path.join(site, '*.skp')),
|
||||
|
Loading…
Reference in New Issue
Block a user