| Index: tools/perf/page_sets/login_helpers/google_login.py
|
| diff --git a/tools/perf/page_sets/login_helpers/google_login.py b/tools/perf/page_sets/login_helpers/google_login.py
|
| index 9c5a14e81779795991ca4c0d437368098f2479c3..a1108e4ce6185922faeaf1798672444c70c4fa03 100644
|
| --- a/tools/perf/page_sets/login_helpers/google_login.py
|
| +++ b/tools/perf/page_sets/login_helpers/google_login.py
|
| @@ -43,9 +43,8 @@ def LoginGoogleAccount(action_runner,
|
| 'https%3A%2F%2Faccounts.google.com%2FManageAccount')
|
|
|
| # Wait until either the email or password input is visible.
|
| - # TODO(catapult:#3028): Fix interpolation of JavaScript values.
|
| - action_runner.WaitForJavaScriptCondition('%s || %s' % (
|
| - _EMAIL_INPUT_VISIBLE_CONDITION, _PASSWORD_INPUT_VISIBLE_CONDITION))
|
| + action_runner.WaitForJavaScriptCondition('{{ @a }} || {{ @b }}',
|
| + a=_EMAIL_INPUT_VISIBLE_CONDITION, b=_PASSWORD_INPUT_VISIBLE_CONDITION)
|
|
|
| # If the email input is visible, this is the first Google login within the
|
| # browser session, so we must enter both email and password. Otherwise, only
|
|
|