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

Issue 6685077: Two sets of Autofill tests.... (Closed)

Created:
9 years, 9 months ago by dyu1
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, anantha, Paweł Hajdan Jr.
Visibility:
Public.

Description

Two sets of Autofill tests. 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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79763

Patch Set 1 #

Total comments: 52

Patch Set 2 : '' #

Total comments: 104

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Total comments: 58

Patch Set 8 : '' #

Total comments: 16

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Total comments: 10

Patch Set 11 : '' #

Total comments: 4

Patch Set 12 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+587 lines, -3 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -1 line 0 comments Download
A chrome/test/data/autofill/form_phones.html View 1 2 3 4 5 6 7 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/test/data/autofill/latency_after_submit_test.html View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/test/data/autofill/phone_pexpected_autofill.txt View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/test/data/autofill/phone_pinput_autofill.txt View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/test/functional/autofill.py View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +84 lines, -2 lines 0 comments Download
A chrome/test/functional/autofill_dataset_generator.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +308 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 5 6 7 8 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
dyu1
9 years, 9 months ago (2011-03-18 01:01:40 UTC) #1
Nirnimesh
I'm reviewing only pyauto.py http://codereview.chromium.org/6685077/diff/1/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): http://codereview.chromium.org/6685077/diff/1/chrome/test/pyautolib/pyauto.py#newcode757 chrome/test/pyautolib/pyauto.py:757: def SendKeyEvent(self, key_code, windex=0, tab_index=0): ...
9 years, 9 months ago (2011-03-18 03:53:29 UTC) #2
dyu1
http://codereview.chromium.org/6685077/diff/1/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): http://codereview.chromium.org/6685077/diff/1/chrome/test/pyautolib/pyauto.py#newcode757 chrome/test/pyautolib/pyauto.py:757: def SendKeyEvent(self, key_code, windex=0, tab_index=0): On 2011/03/18 03:53:29, Nirnimesh ...
9 years, 9 months ago (2011-03-18 20:59:00 UTC) #3
dennis_jeffrey
In general, the style here looks pretty good! I think your code quality is improving ...
9 years, 9 months ago (2011-03-18 21:44:01 UTC) #4
Ilya Sherman
http://codereview.chromium.org/6685077/diff/9/chrome/test/data/autofill/form_phones.html File chrome/test/data/autofill/form_phones.html (right): http://codereview.chromium.org/6685077/diff/9/chrome/test/data/autofill/form_phones.html#newcode1 chrome/test/data/autofill/form_phones.html:1: <!DOCTYPE html> nit: Let's make a py/ subdirectory for ...
9 years, 9 months ago (2011-03-18 23:17:11 UTC) #5
dennis_jeffrey
http://codereview.chromium.org/6685077/diff/9/chrome/test/functional/autofill_dataset_generator.py File chrome/test/functional/autofill_dataset_generator.py (right): http://codereview.chromium.org/6685077/diff/9/chrome/test/functional/autofill_dataset_generator.py#newcode53 chrome/test/functional/autofill_dataset_generator.py:53: re_single_quote = re.compile("'", re.UNICODE) On 2011/03/18 23:17:11, Ilya Sherman ...
9 years, 9 months ago (2011-03-18 23:25:39 UTC) #6
Ilya Sherman
http://codereview.chromium.org/6685077/diff/9/chrome/test/functional/autofill_dataset_generator.py File chrome/test/functional/autofill_dataset_generator.py (right): http://codereview.chromium.org/6685077/diff/9/chrome/test/functional/autofill_dataset_generator.py#newcode53 chrome/test/functional/autofill_dataset_generator.py:53: re_single_quote = re.compile("'", re.UNICODE) On 2011/03/18 23:25:39, dennis_jeffrey wrote: ...
9 years, 9 months ago (2011-03-19 00:41:52 UTC) #7
dyu1
http://codereview.chromium.org/6685077/diff/1/chrome/test/functional/autofill.py File chrome/test/functional/autofill.py (right): http://codereview.chromium.org/6685077/diff/1/chrome/test/functional/autofill.py#newcode161 chrome/test/functional/autofill.py:161: return_keypress=0x0D On 2011/03/18 21:44:01, dennis_jeffrey wrote: > I think ...
9 years, 9 months ago (2011-03-21 18:42:35 UTC) #8
Ilya Sherman
http://codereview.chromium.org/6685077/diff/9/chrome/test/data/autofill/form_phones.html File chrome/test/data/autofill/form_phones.html (right): http://codereview.chromium.org/6685077/diff/9/chrome/test/data/autofill/form_phones.html#newcode1 chrome/test/data/autofill/form_phones.html:1: <!DOCTYPE html> On 2011/03/21 18:42:35, dyu1 wrote: > On ...
9 years, 9 months ago (2011-03-22 01:18:58 UTC) #9
dyu1
http://codereview.chromium.org/6685077/diff/9/chrome/test/functional/autofill.py File chrome/test/functional/autofill.py (right): http://codereview.chromium.org/6685077/diff/9/chrome/test/functional/autofill.py#newcode198 chrome/test/functional/autofill.py:198: list_of_dict = gen.GenerateDataset(num_of_records_to_generate=50) On 2011/03/22 01:18:58, Ilya Sherman wrote: ...
9 years, 9 months ago (2011-03-22 02:52:35 UTC) #10
Ilya Sherman
http://codereview.chromium.org/6685077/diff/9/chrome/test/functional/autofill_dataset_generator.py File chrome/test/functional/autofill_dataset_generator.py (right): http://codereview.chromium.org/6685077/diff/9/chrome/test/functional/autofill_dataset_generator.py#newcode34 chrome/test/functional/autofill_dataset_generator.py:34: [ random.randint, 1, 10000], On 2011/03/22 02:52:35, dyu1 wrote: ...
9 years, 9 months ago (2011-03-22 04:08:57 UTC) #11
dennis_jeffrey
Some more comments below. Also, I had some comments in patch set 1 from the ...
9 years, 9 months ago (2011-03-22 23:28:52 UTC) #12
dyu1
http://codereview.chromium.org/6685077/diff/1/chrome/test/data/autofill/form_phones.html File chrome/test/data/autofill/form_phones.html (right): http://codereview.chromium.org/6685077/diff/1/chrome/test/data/autofill/form_phones.html#newcode5 chrome/test/data/autofill/form_phones.html:5: <title>Autofill Phone fields test form</title> On 2011/03/18 21:44:01, dennis_jeffrey ...
9 years, 9 months ago (2011-03-24 19:46:51 UTC) #13
Ilya Sherman
LGTM with nit (but please wait for Dennis's LGTM as well). Thanks =) http://codereview.chromium.org/6685077/diff/7003/chrome/test/functional/autofill_dataset_generator.py File ...
9 years, 9 months ago (2011-03-25 03:55:31 UTC) #14
Ilya Sherman
Actually, one more question: I seem to remember you mentioning earlier that you were running ...
9 years, 9 months ago (2011-03-25 04:22:58 UTC) #15
dyu1
No, this has not yet been resolved. The reason is because we are sending key ...
9 years, 9 months ago (2011-03-25 05:17:35 UTC) #16
dennis_jeffrey
Just a few more minor comments. Also, since there is a C++ change here, you ...
9 years, 9 months ago (2011-03-25 16:56:13 UTC) #17
dyu1
http://codereview.chromium.org/6685077/diff/7003/chrome/test/functional/autofill_dataset_generator.py File chrome/test/functional/autofill_dataset_generator.py (right): http://codereview.chromium.org/6685077/diff/7003/chrome/test/functional/autofill_dataset_generator.py#newcode144 chrome/test/functional/autofill_dataset_generator.py:144: parts.append(u'%s' % function(*args)) On 2011/03/25 03:55:31, Ilya Sherman wrote: ...
9 years, 9 months ago (2011-03-25 19:10:57 UTC) #18
dennis_jeffrey
LGTM Just a few minor nits. http://codereview.chromium.org/6685077/diff/21001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): http://codereview.chromium.org/6685077/diff/21001/chrome/browser/automation/testing_automation_provider.cc#newcode4336 chrome/browser/automation/testing_automation_provider.cc:4336: autofill_type_to_string[PHONE_FAX_WHOLE_NUMBER] = "PHONE_FAX_WHOLE_NUMBER"; ...
9 years, 9 months ago (2011-03-25 21:08:44 UTC) #19
dyu1
http://codereview.chromium.org/6685077/diff/26001/chrome/test/functional/autofill.py File chrome/test/functional/autofill.py (right): http://codereview.chromium.org/6685077/diff/26001/chrome/test/functional/autofill.py#newcode229 chrome/test/functional/autofill.py:229: # TODO: add automated form hang or crash verification. ...
9 years, 9 months ago (2011-03-26 04:15:41 UTC) #20
dennis_jeffrey
LGTM A few more minor nits. http://codereview.chromium.org/6685077/diff/27002/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): http://codereview.chromium.org/6685077/diff/27002/chrome/browser/automation/testing_automation_provider.cc#newcode4315 chrome/browser/automation/testing_automation_provider.cc:4315: // Strings ordered ...
9 years, 9 months ago (2011-03-27 16:42:35 UTC) #21
dyu1
http://codereview.chromium.org/6685077/diff/27002/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): http://codereview.chromium.org/6685077/diff/27002/chrome/browser/automation/testing_automation_provider.cc#newcode4315 chrome/browser/automation/testing_automation_provider.cc:4315: // Strings ordered by order of fields when adding ...
9 years, 9 months ago (2011-03-29 03:07:51 UTC) #22
Nirnimesh
Code I commented on LGTM http://codereview.chromium.org/6685077/diff/9/chrome/test/data/autofill/form_phones.html File chrome/test/data/autofill/form_phones.html (right): http://codereview.chromium.org/6685077/diff/9/chrome/test/data/autofill/form_phones.html#newcode1 chrome/test/data/autofill/form_phones.html:1: <!DOCTYPE html> On 2011/03/22 ...
9 years, 9 months ago (2011-03-29 20:54:18 UTC) #23
dyu1
http://codereview.chromium.org/6685077/diff/32001/chrome/test/functional/autofill.py File chrome/test/functional/autofill.py (right): http://codereview.chromium.org/6685077/diff/32001/chrome/test/functional/autofill.py#newcode230 chrome/test/functional/autofill.py:230: raw_input() On 2011/03/29 20:54:18, Nirnimesh wrote: > remove this ...
9 years, 9 months ago (2011-03-29 21:49:04 UTC) #24
Nirnimesh
http://codereview.chromium.org/6685077/diff/32001/chrome/test/functional/autofill.py File chrome/test/functional/autofill.py (right): http://codereview.chromium.org/6685077/diff/32001/chrome/test/functional/autofill.py#newcode230 chrome/test/functional/autofill.py:230: raw_input() On 2011/03/29 21:49:04, dyu1 wrote: > On 2011/03/29 ...
9 years, 9 months ago (2011-03-29 22:04:09 UTC) #25
dyu1
9 years, 9 months ago (2011-03-29 22:25:23 UTC) #26
Committing this if no more suggestions for fixes.

http://codereview.chromium.org/6685077/diff/32001/chrome/test/functional/auto...
File chrome/test/functional/autofill.py (right):

http://codereview.chromium.org/6685077/diff/32001/chrome/test/functional/auto...
chrome/test/functional/autofill.py:230: raw_input()
On 2011/03/29 22:04:13, Nirnimesh wrote:
> On 2011/03/29 21:49:04, dyu1 wrote:
> > On 2011/03/29 20:54:18, Nirnimesh wrote:
> > > remove this before checking in
> > 
> > I need this as I need to complete the test manually until I can automate the
> > steps to check for form hang or crash verification. 
> 
> In that case make the raw_input more verbose
> 
> raw_input('Now verify manually. ')

Done.

Powered by Google App Engine
This is Rietveld 408576698