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

Unified Diff: components/test/data/password_manager/automated_tests/tests.py

Issue 1007883002: [Password manager tests automation] Tests for Adobe and Github (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Obey to the presubmit overloads. Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test/data/password_manager/automated_tests/tests.py
diff --git a/components/test/data/password_manager/automated_tests/tests.py b/components/test/data/password_manager/automated_tests/tests.py
index 5388b3aa37899e7f3242e706b5b4836b2d69bcf9..2a9feaef26fc00700d5a642e459f7a505b539a99 100644
--- a/components/test/data/password_manager/automated_tests/tests.py
+++ b/components/test/data/password_manager/automated_tests/tests.py
@@ -55,6 +55,15 @@ class Facebook(WebsiteTest):
self.Submit("[name='pass']")
+class Github(WebsiteTest):
+
+ def Login(self):
+ self.GoTo("https://github.com/login")
+ self.FillUsernameInto("[name='login']")
+ self.FillPasswordInto("[name='password']")
+ self.Submit("[name='commit']")
+
+
class Google(WebsiteTest):
def Login(self):
@@ -216,6 +225,39 @@ class Aliexpress(WebsiteTest):
self.Click("#fm-login-submit")
+# Fails to save password.
+class Adobe(WebsiteTest):
+
+ def Login(self):
+ self.GoTo("https://adobeid-na1.services.adobe.com/renga-idprovider/pages/l"
+ "ogin?callback=https%3A%2F%2Fims-na1.adobelogin.com%2Fims%2Fadob"
+ "eid%2Fadobedotcom2%2FAdobeID%2Ftoken%3Fredirect_uri%3Dhttps%253"
+ "A%252F%252Fwww.adobe.com%252F%2523from_ims%253Dtrue%2526old_has"
+ "h%253D%2526client_id%253Dadobedotcom2%2526scope%253Dcreative_cl"
+ "oud%25252CAdobeID%25252Copenid%25252Cgnav%25252Cread_organizati"
+ "ons%25252Cadditional_info.projectedProductContext%2526api%253Da"
+ "uthorize&client_id=adobedotcom2&scope=creative_cloud%2CAdobeID%"
+ "2Copenid%2Cgnav%2Cread_organizations%2Cadditional_info.projecte"
+ "dProductContext&display=web_v2&denied_callback=https%3A%2F%2Fim"
+ "s-na1.adobelogin.com%2Fims%2Fdenied%2Fadobedotcom2%3Fredirect_u"
+ "ri%3Dhttps%253A%252F%252Fwww.adobe.com%252F%2523from_ims%253Dtr"
+ "ue%2526old_hash%253D%2526client_id%253Dadobedotcom2%2526scope%2"
+ "53Dcreative_cloud%25252CAdobeID%25252Copenid%25252Cgnav%25252Cr"
+ "ead_organizations%25252Cadditional_info.projectedProductContext"
+ "%2526api%253Dauthorize%26response_type%3Dtoken&relay=afebfef8-e"
+ "2b3-4c0e-9c94-07baf205bae8&locale=en_US&flow_type=token&dc=fals"
+ "e&client_redirect=https%3A%2F%2Fims-na1.adobelogin.com%2Fims%2F"
+ "redirect%2Fadobedotcom2%3Fclient_redirect%3Dhttps%253A%252F%252"
+ "Fwww.adobe.com%252F%2523from_ims%253Dtrue%2526old_hash%253D%252"
+ "6client_id%253Dadobedotcom2%2526scope%253Dcreative_cloud%25252C"
+ "AdobeID%25252Copenid%25252Cgnav%25252Cread_organizations%25252C"
+ "additional_info.projectedProductContext%2526api%253Dauthorize&i"
+ "dp_flow_type=login")
+ self.FillUsernameInto("[name='username']")
+ self.FillPasswordInto("[name='password']")
+ self.Submit("#sign_in")
+
+
# Bug not reproducible without test.
class Amazon(WebsiteTest):
@@ -396,6 +438,7 @@ def Tests(environment, tests_to_run=None):
"alexa": Alexa("alexa"),
"dropbox": Dropbox("dropbox"),
"facebook": Facebook("facebook"),
+ "github": Github("github"),
"google": Google("google"),
"imgur": Imgur("imgur"),
"liveinternet": Liveinternet("liveinternet"),
@@ -415,6 +458,7 @@ def Tests(environment, tests_to_run=None):
}
disabled_tests = {
+ "adobe": Adobe("adobe"), # Password saving not offered.
"aliexpress": Aliexpress("aliexpress"), # Fails due to test framework issue.
"amazon": Amazon("amazon"), # Bug not reproducible without test.
"ask": Ask("ask"), # Password not saved.
@@ -429,7 +473,7 @@ def Tests(environment, tests_to_run=None):
"live": Live("live", username_not_auto=True), # http://crbug.com/367768
"163": One63("163"), # http://crbug.com/368690
"vube": Vube("vube"), # http://crbug.com/368690
- "ziddu": Ziddu("ziddu"), #Password not saved
+ "ziddu": Ziddu("ziddu"), # Password not saved.
}
if tests_to_run:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698