OLD | NEW |
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Automated tests for many websites""" | 6 """Automated tests for many websites""" |
7 | 7 |
8 import argparse | 8 import argparse |
9 | 9 |
10 from environment import Environment | 10 from environment import Environment |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 | 442 |
443 | 443 |
444 all_tests = { | 444 all_tests = { |
445 "163": One63("163"), # http://crbug.com/368690 | 445 "163": One63("163"), # http://crbug.com/368690 |
446 "adobe": Adobe("adobe"), # Password saving not offered. | 446 "adobe": Adobe("adobe"), # Password saving not offered. |
447 "alexa": Alexa("alexa"), | 447 "alexa": Alexa("alexa"), |
448 "aliexpress": Aliexpress("aliexpress"), # Fails due to test framework issue. | 448 "aliexpress": Aliexpress("aliexpress"), # Fails due to test framework issue. |
449 "amazon": Amazon("amazon"), # Bug not reproducible without test. | 449 "amazon": Amazon("amazon"), # Bug not reproducible without test. |
450 "ask": Ask("ask"), # Password not saved. | 450 "ask": Ask("ask"), # Password not saved. |
451 "baidu": Baidu("baidu"), # Password not saved. | 451 "baidu": Baidu("baidu"), # Password not saved. |
452 "buzzfeed": Buzzfeed("buzzfeed"), | 452 "buzzfeed": Buzzfeed("buzzfeed", |
| 453 username_not_auto=True, |
| 454 password_not_auto=True), |
453 "cnn": Cnn("cnn"), # http://crbug.com/368690 | 455 "cnn": Cnn("cnn"), # http://crbug.com/368690 |
454 "craigslist": Craigslist("craigslist"), # Too many failed logins per time. | 456 "craigslist": Craigslist("craigslist"), # Too many failed logins per time. |
455 "dailymotion": Dailymotion("dailymotion"), # Crashes. | 457 "dailymotion": Dailymotion("dailymotion"), # Crashes. |
456 "dropbox": Dropbox("dropbox"), | 458 "dropbox": Dropbox("dropbox"), |
457 "ebay": Ebay("ebay"), # http://crbug.com/368690 | 459 "ebay": Ebay("ebay"), # http://crbug.com/368690 |
458 "espn": Espn("espn"), # Iframe, password saved but not autofilled. | 460 "espn": Espn("espn"), # Iframe, password saved but not autofilled. |
459 "facebook": Facebook("facebook"), | 461 "facebook": Facebook("facebook"), |
460 "flipkart": Flipkart("flipkart"), # Fails due to test framework issue. | 462 "flipkart": Flipkart("flipkart"), # Fails due to test framework issue. |
461 "github": Github("github"), | 463 "github": Github("github"), |
462 "google": Google("google"), | 464 "google": Google("google"), |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 tests_results = RunTest( | 589 tests_results = RunTest( |
588 args.chrome_path, args.chromedriver_path, args.profile_path, | 590 args.chrome_path, args.chromedriver_path, args.profile_path, |
589 args.passwords_path, args.website, test_case) | 591 args.passwords_path, args.website, test_case) |
590 | 592 |
591 | 593 |
592 SaveResults(tests_results, save_path, | 594 SaveResults(tests_results, save_path, |
593 save_only_failures=args.save_only_failures) | 595 save_only_failures=args.save_only_failures) |
594 | 596 |
595 if __name__ == "__main__": | 597 if __name__ == "__main__": |
596 main() | 598 main() |
OLD | NEW |