summaryrefslogtreecommitdiffstats
path: root/chrome/test/functional/autofill.py
Commit message (Collapse)AuthorAgeFilesLines
* Enable and remove PyAuto tests for Autofill.dyu@chromium.org2011-06-071-36/+3
| | | | | | | | | | | | | - Enable testProfileWithEmailINOtherFieldNotSaved - Remove testSegmentNumbersNotSupportedInDOMUI - inserting and retrieving segmented phone/fax numbers in prefs no longer supported. - Changed testMergeAggregatedProfilesWithSameAddress - account for strict profile merging. - Changed phone_pinput_autofill.txt - removed keys/values no longer supported for FillAutofillProfile. TEST=none BUG=80629, 83686 Review URL: http://codereview.chromium.org/7111017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88090 0039d316-1c4b-4281-b951-d872f2087c98
* Updated and Added Autofill tests.dyu@chromium.org2011-05-251-0/+33
| | | | | | | | | | | | | Autofill no longer supports segmented key/value pairs when entering data through the DOM UI. - testFillProfileCrazyCharacters - fixed data file by removing all segmented phone/fax key/value pairs. - testSegmentNumbersNotSupportedInDOMUI - verifies that segmented data no longer supported through DOM UI. TEST=none BUG=83686 Review URL: http://codereview.chromium.org/6992049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86709 0039d316-1c4b-4281-b951-d872f2087c98
* Update autofill test to take into account for new valdation change with ↵dyu@chromium.org2011-05-241-5/+10
| | | | | | | | | | | | | | | phone/fax numbers. - testAUtofillInvalid Phone/Fax information entered into the prefs UI is no longer validated or rejected. Update existing automation test. TEST=none BUG=83677 Review URL: http://codereview.chromium.org/7067011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86399 0039d316-1c4b-4281-b951-d872f2087c98
* Changing Autofill phone numbers in test to valid US numbers.dyu@chromium.org2011-05-201-7/+7
| | | | | | | | | | | Taking into account for strict number checking based on country selected during aggregation. First 3 phone digits '123' is not considered valid for US numbers. TEST=none BUG=none Review URL: http://codereview.chromium.org/6961037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86173 0039d316-1c4b-4281-b951-d872f2087c98
* Added a test case for Autofill and created a private function for filling in ↵dyu@chromium.org2011-05-121-99/+76
| | | | | | | | | | | | | | | and submitting a form as the same set of code were used in multiple tests. - testAggregatesMinValidProfile - _FillFormAndSubmit TEST=none BUG=none Review URL: http://codereview.chromium.org/6959001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85157 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for pyauto autofill flakiness when sending key events to populate a form.dennisjeffrey@chromium.org2011-05-101-23/+14
| | | | | | | | | | | | This change should eliminate flakiness in a few pyauto autofill tests, which are now re-enabled. BUG=80190,80336 TEST=None Review URL: http://codereview.chromium.org/6929052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84791 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for pyauto autofill test: testFillProfileCrazyCharactersdennisjeffrey@chromium.org2011-05-091-2/+5
| | | | | | | | | | | | | Recent changes to Autofill required some modifications to the input data files for this pyauto test. The test should now pass, and is being re-enabled. BUG=77969 TEST=None Review URL: http://codereview.chromium.org/6952002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84629 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed IOError for autofill tests failing on the win XP qa bots.dyu@chromium.org2011-05-061-1/+2
| | | | | | | | | | | - testMergeAggregatedProfilesWithSameAddress - testProfilesNotMergedWhenNoMinAddressData TEST=none BUG=81271 Review URL: http://codereview.chromium.org/6927062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84397 0039d316-1c4b-4281-b951-d872f2087c98
* Added Autofill tests for Multi-Value feature.dyu@chromium.org2011-04-291-13/+43
| | | | | | | | | | | | - MergeAggregatedDuplicatedProfiles - testMergeAggregatedProfilesWithSameAddress - testProfilesNotMergedWhenNoMinAddressData TEST=none BUG=none Review URL: http://codereview.chromium.org/6907001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83566 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Autofill test failure for testDistinguishMiddleInitialWithinNamedyu@chromium.org2011-04-211-22/+26
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/6883108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82525 0039d316-1c4b-4281-b951-d872f2087c98
* Added additional tests to Autofill.dyu@chromium.org2011-04-201-7/+139
| | | | | | | | | | | | | | | - testAbleToFillFormAfterFormReset - testDinstinguishMiddleInitialWithinName (M13 feature) - testMultipleEmailAddressFilledByOneUserGesture - testProfilesNotAggregatedWhenEmailFoundInNonEmailField (M13 feature) Changed form id name for each html file for better consistency. TEST=none BUG=none Review URL: http://codereview.chromium.org/6882071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82399 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed autofill test for testWhitespacesAndSeparatorCharsStrippedForValidCCNumsdyu@chromium.org2011-04-181-3/+3
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/6882018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81971 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a few Autofill automation failures and added new tests.dyu@chromium.org2011-04-161-11/+138
| | | | | | | | | | | | | | | | | - Deprecated testFilterMalformedEmailAddresses as the logic changed. - Add testProfilesNotAggregatedWithInvalidEmail - Add testInvalidCreditCardIsNotAggregated - Add testWhiteSpacesStrippedForValidCCNums - Add testCharSeparatorsStrippedForValidCCNums - Fixed testAutofillInvalid - Fixed testComparePhoneNumbers - Fixed testNoAutofillForReadOnlyFields TEST=none BUG=73439, 78844, 79405, 78519 Review URL: http://codereview.chromium.org/6850007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81861 0039d316-1c4b-4281-b951-d872f2087c98
* Added a test to Verify that the fetched credentials are cleared for a new ↵dyu@chromium.org2011-04-131-23/+10
| | | | | | | | | | | | | | | | | | | username. - testClearFetchedCredForNewUserName Added the ability to send char values to the browser and refactored the original function that sends key events to the browser. - pyauto.py Changed the private function _SendKeyEventsToPopulateForm to include new function created in pyauto.py. TEST=none BUG=none Review URL: http://codereview.chromium.org/6822008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81491 0039d316-1c4b-4281-b951-d872f2087c98
* Added string values into the verification steps to print out the values ↵dyu@chromium.org2011-04-061-2/+3
| | | | | | | | | within the fields if the test fails. - AutofillTest.testNoAutofillForReadOnlyFields Review URL: http://codereview.chromium.org/6801005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80672 0039d316-1c4b-4281-b951-d872f2087c98
* Add an Autofill test to verify that Autofill does not fill in read-only fields.dyu@chromium.org2011-04-051-11/+51
| | | | | | | | | | | | | - testNoAutofillForReadOnlyField - read_only_field_test.html Fixed incorrect permissions for html file from 775 to 640. BUG=none TEST=none Review URL: http://codereview.chromium.org/6792035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80489 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80379 - Add an Autofill test to verify that Autofill does not fill in ↵dyu@chromium.org2011-04-041-51/+12
| | | | | | | | | | | | | | | | read-only fields. - testNoAutofillForReadOnlyField - read_only_field_test.html BUG=none TEST=none Review URL: http://codereview.chromium.org/6737017 TBR=dyu@chromium.org Review URL: http://codereview.chromium.org/6720039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80389 0039d316-1c4b-4281-b951-d872f2087c98
* Add an Autofill test to verify that Autofill does not fill in read-only fields.dyu@chromium.org2011-04-041-12/+51
| | | | | | | | | | | - testNoAutofillForReadOnlyField - read_only_field_test.html BUG=none TEST=none Review URL: http://codereview.chromium.org/6737017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80379 0039d316-1c4b-4281-b951-d872f2087c98
* Add Autofill test for verifying that credit card info is not stored when ↵dyu@chromium.org2011-03-301-0/+33
| | | | | | | | | | | | | autocomplete is off for credit card field. - autofill.testCCInfoNotStoredWhenAutocompleteOff - cc_autocomplete_off_test.html TEST=none BUG=none Review URL: http://codereview.chromium.org/6777003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79919 0039d316-1c4b-4281-b951-d872f2087c98
* Two sets of Autofill tests.dyu@chromium.org2011-03-291-2/+84
| | | | | | | | | | | | | | 1. testComparePhoneNumbers - Test phone fields parses correctly from a given profile. Contains files: autofill.py, form_phones.html, phone_pinput_autofill.txt, phone_pexpected_autofill.txt, pyauto.py 2. FormFillLatencyAfterSubmit -Test latency time on form submit with lots of stored Autofill profiles. Contains files: autofill.py, autofill_dataset_generator.py, latency_after_submit_test.html, pyauto.py TEST=none BUG=none Review URL: http://codereview.chromium.org/6685077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79763 0039d316-1c4b-4281-b951-d872f2087c98
* autofill: Rename all the entries remaining with AutoFill to Autofill.tfarina@chromium.org2011-03-211-2/+2
| | | | | | | | | | R=isherman@chromium.org,dhollowa@chromium.org BUG=72758 TEST=existing unit_tests Review URL: http://codereview.chromium.org/6688053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78856 0039d316-1c4b-4281-b951-d872f2087c98
* autofill: Rename AutoFillProfile to AutofillProfile.tfarina@chromium.org2011-03-101-22/+22
| | | | | | | | | BUG=72758 TEST=existing unit_tests Review URL: http://codereview.chromium.org/6658030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77630 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed failing Autofill tests for PyAuto.dyu@chromium.org2011-03-081-1/+1
| | | | | | | | | | | -Tests were failing due to the new country drop-down list field. -The dictionary entry for ADDRESS_HOME_COUNTRY were no longer matching the country name within profiles due to casing mismatch. BUG=74843 TEST=none Review URL: http://codereview.chromium.org/6624084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77234 0039d316-1c4b-4281-b951-d872f2087c98
* Functions not intended as tests should not begin with 'test'nirnimesh@chromium.org2011-03-031-2/+2
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6597028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76766 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed pyauto tests broken on Mac by r75344 for autofill.py.dyu@chromium.org2011-02-241-1/+2
| | | | | | | | | | | Mac runs on python2.5 and the 'with statement' is not supported in version 2.5. Used alternative code so the test runs and passes on Mac running python2.5. BUG=none TEST=none Review URL: http://codereview.chromium.org/6546053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75834 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pyauto tests broken on Mac by r75344nirnimesh@chromium.org2011-02-181-1/+0
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6542019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75471 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed autofill.py import error.dyu@chromium.org2011-02-181-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6538043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75353 0039d316-1c4b-4281-b951-d872f2087c98
* Test Autofill's ability to merge duplicate profiles anddyu@chromium.org2011-02-181-11/+103
| | | | | | | | | | | | | | | | | throw away junk profiles. Includes a dataset converter script to convert csv file into profile dictionary list. testMergeDuplicateProfilesInAutofill Added additional tests: testFilterMalformedEmailAddresses - covers fixed bug 73654. testFilterIncompleteAddresses - covers fixed bug 71710. BUG=none TEST=none Review URL: http://codereview.chromium.org/6246147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75344 0039d316-1c4b-4281-b951-d872f2087c98
* Created test case for posting a form 1000 times to test autofill crowd ↵dyu@chromium.org2011-02-011-0/+31
| | | | | | | | | | source feature. BUG=none TEST=none Review URL: http://codereview.chromium.org/6368020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73308 0039d316-1c4b-4281-b951-d872f2087c98
* Fix autofill pyauto tests to deal with invalid credit card numbersnirnimesh@chromium.org2010-11-111-7/+9
| | | | | | | | | Autofill model has been changed to strip off non-digit chars in credit card input. Fix pyauto tests expectations. Review URL: http://codereview.chromium.org/4812001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65851 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PyAuto tests to account for dynamic autofill labels.nirnimesh@chromium.org2010-09-281-20/+27
| | | | | | | | | | | Also, match full phone number. BUG=56844 TEST=python chrome/test/functional/autofill.py Review URL: http://codereview.chromium.org/3437025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60843 0039d316-1c4b-4281-b951-d872f2087c98
* New autofill pyauto functional testsalyssad@chromium.org2010-08-091-7/+44
| | | | | | | | This adds some more tests to autofill.py that test invalid input and unicode input. Review URL: http://codereview.chromium.org/3054049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55407 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pyauto AutoFill hook/test based on new CC functionality.alyssad@chromium.org2010-08-021-2/+1
| | | | | | | | With this CL: http://codereview.chromium.org/3010041 credit cards were changed so that the type is determined based upon the number. Fixing the pyauto test to pass with new functionality. Review URL: http://codereview.chromium.org/3084004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54552 0039d316-1c4b-4281-b951-d872f2087c98
* New pyauto hook to set and get autofill profilesalyssad@chromium.org2010-07-091-0/+53
Review URL: http://codereview.chromium.org/2836046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51984 0039d316-1c4b-4281-b951-d872f2087c98