| Index: tools/perf/page_sets/gmail_expand_collapse_conversation.py
|
| diff --git a/tools/perf/page_sets/gmail_expand_collapse_conversation.py b/tools/perf/page_sets/gmail_expand_collapse_conversation.py
|
| index f223e654d794fec0f978e1feaee20536eeba0875..769bdbbea3da496190c9da8caad42abc945c9709 100644
|
| --- a/tools/perf/page_sets/gmail_expand_collapse_conversation.py
|
| +++ b/tools/perf/page_sets/gmail_expand_collapse_conversation.py
|
| @@ -26,30 +26,18 @@ class GmailExpandCollapseConversationPage(
|
| def RunNavigateSteps(self, action_runner):
|
| action_runner.NavigateToPage(self)
|
| action_runner.WaitForElement('img[alt="Expand all"]')
|
| - action_runner.RunAction(ClickElementAction(
|
| - {
|
| - 'selector': 'img[alt="Expand all"]'
|
| - }))
|
| + action_runner.ClickElement('img[alt="Expand all"]')
|
| action_runner.Wait(5)
|
| action_runner.WaitForElement('img[alt="Collapse all"]')
|
| - action_runner.RunAction(ClickElementAction(
|
| - {
|
| - 'selector': 'img[alt="Collapse all"]'
|
| - }))
|
| + action_runner.ClickElement('img[alt="Collapse all"]')
|
| action_runner.Wait(1)
|
|
|
| def RunEndure(self, action_runner):
|
| action_runner.WaitForElement('img[alt="Expand all"]')
|
| - action_runner.RunAction(ClickElementAction(
|
| - {
|
| - 'selector': 'img[alt="Expand all"]'
|
| - }))
|
| + action_runner.ClickElement('img[alt="Expand all"]')
|
| action_runner.Wait(1)
|
| action_runner.WaitForElement('img[alt="Collapse all"]')
|
| - action_runner.RunAction(ClickElementAction(
|
| - {
|
| - 'selector': 'img[alt="Collapse all"]'
|
| - }))
|
| + action_runner.ClickElement('img[alt="Collapse all"]')
|
| action_runner.Wait(1)
|
|
|
|
|
|
|