diff options
author | dyu@chromium.org <dyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 19:05:41 +0000 |
---|---|---|
committer | dyu@chromium.org <dyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 19:05:41 +0000 |
commit | 67154cc6f7a3cabcf3557aa2d05beffe183ae3aa (patch) | |
tree | 23d2463ee4647bda4134f001b514948df4d277d0 /chrome/test/functional/autofill.py | |
parent | 73c4761777a6c762410ea6297a4368f798bc198c (diff) | |
download | chromium_src-67154cc6f7a3cabcf3557aa2d05beffe183ae3aa.zip chromium_src-67154cc6f7a3cabcf3557aa2d05beffe183ae3aa.tar.gz chromium_src-67154cc6f7a3cabcf3557aa2d05beffe183ae3aa.tar.bz2 |
Added string values into the verification steps to print out the values 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
Diffstat (limited to 'chrome/test/functional/autofill.py')
-rw-r--r-- | chrome/test/functional/autofill.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/test/functional/autofill.py b/chrome/test/functional/autofill.py index 1867f79..66caea4 100644 --- a/chrome/test/functional/autofill.py +++ b/chrome/test/functional/autofill.py @@ -258,10 +258,11 @@ class AutofillTest(pyauto.PyUITest): js_return_addrline1_field, 0, 0) self.assertNotEqual( readonly_field_value, profile['EMAIL_ADDRESS'], - 'Autofill filled in value for a read-only field.') + 'Autofill filled in value "%s" for a read-only field.' + % readonly_field_value) self.assertEqual( addrline1_field_value, profile['ADDRESS_HOME_LINE1'], - 'Unexpected value in the Address field.') + 'Unexpected value "%s" in the Address field.' % addrline1_field_value) def FormFillLatencyAfterSubmit(self): """Test latency time on form submit with lots of stored Autofill profiles. |