Closed Bug 1819679 Opened 1 year ago Closed 10 months ago

[CA][kitchenstuffplus.com] The preview and the autofill is working separately for two groups of fields

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox110 --- affected
firefox111 --- affected
firefox112 --- affected
firefox115 --- affected

People

(Reporter: ailea, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [fxcm-addr-compatibility])

Attachments

(4 files)

Found in

  • 112.0a1 (2023-02-27)

Affected versions

  • 112.0a1, 111.0b6, 110.0

Tested platforms

  • Affected platforms: Windows 10, macOS 11, Ubuntu 20

Preconditions

  • have an address already saved
  • browser.search.region CA

Steps to reproduce

  1. Reach the Address form on https://kitchenstuffplus.com
  2. Click on the email address field.
  3. Click on the "First name", "Last Name", "Company", "Street Address" fields, hover over any saved Address entry to check the autofill preview.
  4. Select any Address entry in order to autofill the fields.
  5. Click on any field except the ones from step 2.

Expected result

  1. The autofill dropdown should be displayed for all the eligible fields.
  2. All the eligible fields should be previewed and autofilled accordingly.

Actual result

  1. The autofill dropdown is not displayed for the email address field.
  2. The preview and the autofill is working separately for the first 4 fields and also for the last 6 fields.

Regression range

  • Not a recent regression.

Additional notes

  • Not reproducible in Chrome.
  • Just let me know if I should file separate bugs for the issues described above.
Priority: -- → P3
Whiteboard: [fxcm-addr-compatibility]
Attached video 2023-05-26_13h01_20.mp4

This issue is still reproducible in the latest Nightly build 115.0a1 (2023-05-26), the same behavior is still present.

Out heuristic consider both Street Address and Street Address: Line 2 fields as address-line-1 so we think there are two different sections.
The solution should be either correctly identify Street Address: Line 2 as address-line-2 field with our regular expression heuristic or update our heuristic so when we see two address-line-1, the latter is considered as address-line-2

Attached video 2023-06-19_13h34_09.mp4

The address fields are now autofilled accordingly, except the State/Province field (dropdown) and the email address field. Tested in the latest Nightly 116.0a1 (2023-06-19).

Attached video 2023-06-20_11h38_41.mp4

Update:
On the first try, the autofill works accordingly for State/Province. The issue occurs only after clearing the form and trying to autofill again with the same address. The second time the State/Province is not autofilled anymore.

(In reply to Alin Ilea, Desktop QA [Out of office 10-17th July] from comment #5)

The autofill dropdown is not displayed for the email address field.

This is because the email field and the other address fields are in different form, so we don't group them together.
Chrome has similar behavior

Update:
The issue occurs only after clearing the form and trying to autofill again with the same address. The second time the State/Province is not autofilled anymore.

This issue occurs because we don't handle layout change of form very well, which would be addressed in Bug 1837161.
HI Alin, could you help file another bug for "not autofilling province after clearing the form" and make it depend on Bug 1837161?

As for this bug, I'll close as FIXED because we fix "the preview and the autofill is working separately for the first 4 fields and also for the last 6 fields."

Status: NEW → RESOLVED
Closed: 10 months ago
Flags: qe-verify+
Resolution: --- → FIXED

Marking this as verified since the initial issue described here is fixed and verified in the latest Nightly build 117.0a1. For "not autofilling province after clearing the form" issue I filed a new bug here.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: