-
Notifications
You must be signed in to change notification settings - Fork 973
Issue #9053: Making country field in autofill a dropdown list instead of text input box. #10821
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10821 +/- ##
==========================================
- Coverage 54.17% 54.15% -0.02%
==========================================
Files 247 247
Lines 21558 21575 +17
Branches 3342 3344 +2
==========================================
+ Hits 11679 11684 +5
- Misses 9879 9891 +12
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests are failing, so I think that we need to check them out
https://travis-ci.org/brave/browser-laptop/jobs/272442182#L3535
|
It looks like the country is not correctly selected from the dropdown.
Locally I noticed |
@luixxiul for the selection to work, you'd have to type what the actual value in the listbox is: ex "United" or "United States". Typing US is going to match countries like "us*" |
@bsclifton I think I tried that too, but it did not work for me. I think I am doing something wrong. Would you mind helping me out? thanks! |
@luixxiul I fixed the tests- unfortunately, your fork does not allow updates though. Did you specifically uncheck this box on purpose when creating the PR? |
@bsclifton I see! thanks for your commit. I'll check it out and cherry-pick it. |
I get another new error which I'm not sure if this PR causes: https://travis-ci.org/brave/browser-laptop/jobs/273571165#L3754
@bsclifton @NejcZdovc do you know how to fix this? |
I can't repro the issue locally- going to try on Linux |
Also works when I run with Ubuntu 14.04 locally... hmm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes work great (great job, @dfperry5!) Looks and feels much better. Tests pass locally- I think we'll need to investigate more on why one test fails before merging.
related? https://www.drupal.org/node/2869464 |
@bsclifton @luixxiul Hi guys, I've been keeping up with the thread - is there anything I can do to help? I know Brian said it could be something yall need to look at with the test. |
@dfperry5 we're good to go from your end- maybe @NejcZdovc can help me figure out what's wrong with the test (or more specifically, where it's breaking). I'll be looking into it also 😄 Hopefully we'll get that squared away and get this merged for you. Thanks for hanging in there 😄 |
Creating a dropdown for the country list in the about:autofill panel Fix #9053
… is a blank modified: app/renderer/components/autofill/autofillAddressPanel.js modified: app/renderer/components/autofill/autofillAddressPanel.js modified: app/renderer/components/autofill/autofillAddressPanel.js modified: app/renderer/components/autofill/autofillAddressPanel.js
Auditors: @cezaraugusto Test Plan: 1. Open about:autofill 2. Click 'Add Address'
Looking back at travis-ci, previous builds failed on this same issue I created an issue to track the failing test (since it has been present for a while) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
Because the tests work locally and the same one failed BEFORE this PR, I believe this is safe to merge 😄
Congrats on your first contribution, @dfperry5 😄 🎉 Let us know if there's another issue we can help with (and apologies this one took so long to get sorted out) |
@bsclifton we started getting this errors with this commit 3e38aee and it's not related to this PR. I am still figuring out what is going on and once I do it will fix multiple failing tests. |
Fixes #9053
I mistakenly closed #10300 opened by @dfperry5. I picked up the 4 commits from the PR and added a commit to add
CommonFormFullWidthDropdown
. Apologies to @dfperry5.Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
about:autofill
Add Address
Country
united states
United States
is selectedSave
Country
United States
appears on the candidate listAutomated test plan:
npm run test -- --grep="Autofill"
Reviewer Checklist:
Tests