Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: tools/telemetry/telemetry/core/backends/google_credentials_backend.py

Issue 520683002: Re-reenable memory tests. Fixed sign-in issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/backends/google_credentials_backend.py
diff --git a/tools/telemetry/telemetry/core/backends/google_credentials_backend.py b/tools/telemetry/telemetry/core/backends/google_credentials_backend.py
index 780a5ea1f2f11ceb062c71feb5b8ce14fe15f8d4..34d2d5c747887283e22e78eb80d513c94e618b33 100644
--- a/tools/telemetry/telemetry/core/backends/google_credentials_backend.py
+++ b/tools/telemetry/telemetry/core/backends/google_credentials_backend.py
@@ -17,7 +17,11 @@ class GoogleCredentialsBackend(
@property
def url(self):
- return 'https://accounts.google.com/'
+ # pylint: disable=C0301
+ # WPR doesn't support having 2 responses for the same URL (with/without
+ # session cookie), so after login behaviour differs with/without wpr.
+ # Sign-in URL is specified directly to overcome this.
+ return 'https://accounts.google.com/ServiceLogin?continue=https%3A%2F%2Faccounts.google.com%2FManageAccount'
@property
def login_form_id(self):

Powered by Google App Engine
This is Rietveld 408576698