Adding page names to all endure pagesets

BUG=284547

Review URL: https://chromiumcodereview.appspot.com/23963003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222241 0039d316-1c4b-4281-b951-d872f2087c98
parent ec5bdb1f
......@@ -64,6 +64,10 @@ class Endure(page_measurement.PageMeasurement):
"""Reset the starting time for each new page."""
self._test_start_time = time.time()
# Prefix the page name so it can be picked up by endure parser.
if page.name and not page.display_name.startswith('endure_'):
page.name = 'endure_' + page.name
def MeasurePage(self, page, tab, results):
"""Dump perf information if we have gone past our interval time."""
now = time.time()
......
......@@ -6,6 +6,7 @@
"pages": [
{
"url": "https://www.google.com/calendar/",
"name": "calendar_forward_backward",
"why": "Click forward(4x) and backwards(4x) repeatedly",
"credentials": "google",
"navigate_steps" : [
......
......@@ -6,6 +6,7 @@
"pages": [
{
"url": "https://mail.google.com/mail/",
"name": "gmail_alt_threadlist_conversation",
"why": "Alternate between Inbox and the first email conversation",
"credentials": "google",
"navigate_steps" : [
......
......@@ -6,6 +6,7 @@
"pages": [
{
"url": "https://mail.google.com/mail/",
"name": "gmail_alt_two_labels",
"why": "Alternate between Inbox and Sent Mail",
"credentials": "google",
"navigate_steps" : [
......
......@@ -6,6 +6,7 @@
"pages": [
{
"url": "https://mail.google.com/mail/u/0/#inbox/13c6a141fa95ffe0",
"name": "gmail_expand_collapse_conversation",
"why": "Expand and Collapse a long conversation. # TODO(edmundyan): Find a long conversation rather than hardcode url",
"credentials": "google",
"navigate_steps": [
......
......@@ -6,6 +6,7 @@
"pages": [
{
"url": "https://plus.google.com/+BarackObama/posts",
"name": "plus_alt_posts_photos",
"why": "Alternate between clicking posts and albums",
"credentials": "google",
"navigate_steps": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment