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

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

Issue 491863003: Re-enable 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..8c3ab357dd8e7dfc85a1f97dd2de8b1e4a5b025c 100644
--- a/tools/telemetry/telemetry/core/backends/google_credentials_backend.py
+++ b/tools/telemetry/telemetry/core/backends/google_credentials_backend.py
@@ -17,7 +17,10 @@ class GoogleCredentialsBackend(
@property
def url(self):
- return 'https://accounts.google.com/'
+ # 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):
« tools/perf/page_sets/data/mobile_memory.json ('K') | « tools/perf/page_sets/data/mobile_memory.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698