| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 # pylint: disable=W0401,W0614 | |
| 5 from telemetry.page.actions.all_page_actions import * | |
| 6 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 7 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
| 8 | 6 |
| 9 | 7 |
| 10 class GmailExpandCollapseConversationPage( | 8 class GmailExpandCollapseConversationPage( |
| 11 page_module.Page): | 9 page_module.Page): |
| 12 | 10 |
| 13 """ Why: Expand and Collapse a long conversation. """ | 11 """ Why: Expand and Collapse a long conversation. """ |
| 14 # TODO(edmundyan): Find a long conversation rather than hardcode url | 12 # TODO(edmundyan): Find a long conversation rather than hardcode url |
| 15 | 13 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 """ | 46 """ |
| 49 | 47 |
| 50 def __init__(self): | 48 def __init__(self): |
| 51 super(GmailExpandCollapseConversationPageSet, self).__init__( | 49 super(GmailExpandCollapseConversationPageSet, self).__init__( |
| 52 credentials_path='data/credentials.json', | 50 credentials_path='data/credentials.json', |
| 53 user_agent_type='desktop', | 51 user_agent_type='desktop', |
| 54 archive_data_file='data/gmail_expand_collapse_conversation.json', | 52 archive_data_file='data/gmail_expand_collapse_conversation.json', |
| 55 bucket=page_set_module.PUBLIC_BUCKET) | 53 bucket=page_set_module.PUBLIC_BUCKET) |
| 56 | 54 |
| 57 self.AddPage(GmailExpandCollapseConversationPage(self)) | 55 self.AddPage(GmailExpandCollapseConversationPage(self)) |
| OLD | NEW |