[CA][leons.ca] The Provice field (dropdown) is not longer autofilled if the same address is selected twice
Categories
(Toolkit :: Form Autofill, task)
Tracking
()
People
(Reporter: ailea, Assigned: enndeakin)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [fxcm-addr-compatibility])
Attachments
(3 files)
Found in
- 118.0a1
Affected versions
- 118.0a1
Tested platforms
- Affected platforms: Windows 10
Preconditions
- browser.search.region = CA
- Have at least one Address already saved
Steps to reproduce
- Reach the Address form on https://www.leons.ca
- Click on any Address field and select an Address entry from the dropdown
- Click on any field and choose the Clear Form option
- Click on any Address field and select the same address as in step 2
Expected result
- The Province field should be autofilled accordingly.
Actual result
- The Province field is autofilled correctly only for the first time an address is selected. If the user select the same address to autofill the fields twice or more, the Province field is no longer autofilled.
Regression range
- N/A
Aditional Notes
Assignee | ||
Comment 1•6 months ago
|
||
There are a number of duplicated fields that are made 'invisible' by making them very small and pushing them into another area of the page. These duplicated fields cause the section classification to think that there are multiple sections and breaks up the form fields into different sections. The province, postal code and phone number are the only fields without duplicates so go into a separate section which would get autofilled separately.
The 'hidden' fields do have aria-hidden="true" which we could use as an alternate form of visibility check.
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
Assignee | ||
Comment 2•3 months ago
|
||
For now, this is only checked when looking up select option elements to reduce compatibility issues
Updated•3 months ago
|
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/25cf9cb2b9a2 use aria-hidden attribute as an indicator of visibility when comparing select options, r=credential-management-reviewers,dimi
Updated•3 months ago
|
Updated•2 months ago
|
Reporter | ||
Comment 5•2 months ago
|
||
Hi Neil, in my attempt to verify this fix, I noticed that the bug is indeed fixed (so I will mark it accordingly), the province is now autofilled if I autofill the form with the same address multiple times, but the Province field is now reset to Alberta upon clearing the form, not to the Province value. Just let me know if I should file a new bug for this, or maybe it will be fixed through bug 1904593.
Thanks!
Reporter | ||
Updated•2 months ago
|
Assignee | ||
Comment 6•2 months ago
|
||
There is no default row assigned by the province dropdown and the first item labelled 'Province' is disabled so we can't select it, so we select the first available item 'Alberta'. Chrome does this same thing when clearing the form so I think there doesn't need to be a bug this.
Description
•