From d1f502ad662ceaf8792fcc25a219c083f6fee577 Mon Sep 17 00:00:00 2001 From: Anthony Tseng Date: Wed, 3 May 2017 08:39:13 -0700 Subject: [PATCH] Add fist entry focus test Auditors: @kumarrishav, @bsclifton --- .../autofill/autofillCreditCardPanel.js | 2 ++ test/contents/autofillTest.js | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/renderer/components/autofill/autofillCreditCardPanel.js b/app/renderer/components/autofill/autofillCreditCardPanel.js index f4afbc34d8a..0d37a569a19 100644 --- a/app/renderer/components/autofill/autofillCreditCardPanel.js +++ b/app/renderer/components/autofill/autofillCreditCardPanel.js @@ -115,6 +115,7 @@ class AutofillCreditCardPanel extends ImmutableComponent { commonFormStyles.input__box, styles.input )} + data-test-id='creditCardName' spellCheck='false' onKeyDown={this.onKeyDown} onChange={this.onNameChange} @@ -126,6 +127,7 @@ class AutofillCreditCardPanel extends ImmutableComponent { className={css(commonFormStyles.input__marginRow) }>