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

Unified Diff: chrome/test/functional/autofill.py

Issue 7892048: Autofill: Remove fax number completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix. Created 9 years, 3 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: chrome/test/functional/autofill.py
diff --git a/chrome/test/functional/autofill.py b/chrome/test/functional/autofill.py
index 5d94f93e3599dc50ba1c76a0e6e712120b4b9218..c47ff8c5de94a635f3ec0090b45647a04a58ea43 100644
--- a/chrome/test/functional/autofill.py
+++ b/chrome/test/functional/autofill.py
@@ -92,7 +92,7 @@ class AutofillTest(pyauto.PyUITest):
def testAutofillInvalid(self):
"""Test filling in invalid values for profiles are saved as-is.
- Phone/Fax information entered into the prefs UI is not validated or rejected
+ Phone information entered into the prefs UI is not validated or rejected
except for duplicates.
"""
# First try profiles with invalid ZIP input.
@@ -101,14 +101,13 @@ class AutofillTest(pyauto.PyUITest):
'ADDRESS_HOME_STATE': ['CA',],
'ADDRESS_HOME_ZIP': ['my_zip',],
'ADDRESS_HOME_COUNTRY': ['United States',]}
- # Add invalid data for phone and fax fields.
+ # Add invalid data for phone field.
with_invalid = without_invalid.copy()
with_invalid['PHONE_HOME_WHOLE_NUMBER'] = ['Invalid_Phone_Number',]
- with_invalid['PHONE_FAX_WHOLE_NUMBER'] = ['Invalid_Fax_Number',]
self.FillAutofillProfile(profiles=[with_invalid])
self.assertNotEqual(
[without_invalid], self.GetAutofillProfile()['profiles'],
- msg='Phone/Fax data entered into prefs UI is validated.')
+ msg='Phone data entered into prefs UI is validated.')
def testAutofillPrefsStringSavedAsIs(self):
"""Test invalid credit card numbers typed in prefs should be saved as-is."""
« no previous file with comments | « chrome/test/data/autofill/merge/tools/serialize_profiles.py ('k') | chrome/test/functional/autofill_dataset_converter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698