Open dragosb01 opened 1 month ago
➤ Norberto Andres Furlan commented:
Razvan Litianu can you take a look to this one?
➤ Matt Lichtenstein commented:
Some findings:
When the expiration date field is updated after being autofilled, and the form is submitted, regardless of the new expiration date, the old value is read back into the client (hence why the “update” card does not display). So the problem seems to be in the content script reading back in the update field data
This issue seems to only occur when modifying the expiration date field after it has been autofilled (everything works fine when changing the cardholder name field after autofilling)
This issue seems to only occur when the expiration date field is a text field. Things seem to work as expected when the expiration date is controlled by dropdowns
➤ Matt Lichtenstein commented:
The payload (WKScriptMessage) seems to contain old field values (from autofill). Issam Mani could this be an content script issue?
➤ Issam Mani commented:
Ok I think this is already tracked somewhere else. Norberto Andres Furlan what do you think is the best way to track these things, so we don’t end up investigating them twice ?
➤ Issam Mani commented:
It’s tracked here: https://mozilla-hub.atlassian.net/browse/FXIOS-9026 ( https://mozilla-hub.atlassian.net/browse/FXIOS-9026|smart-link ) . And this ticket is blocked by another one from Desktop.
➤ Issam Mani commented:
{quote}The payload (WKScriptMessage) seems to contain old field values (from autofill). Issam Mani could this be an content script issue?{quote}
I documented what happens in this comment ( https://bugzilla.mozilla.org/show_bug.cgi?id=1896494#c1 ). TL;DR we have hidden fields and we fill those and this causes the issue. This could happen for any split field not only expiration date.
➤ Matt Lichtenstein commented:
Closing as duplicate of https://mozilla-hub.atlassian.net/browse/FXIOS-9026 ( https://mozilla-hub.atlassian.net/browse/FXIOS-9026|smart-link )
Steps to reproduce
Follow the steps from below TC or
Expected behavior
Update card prompt should be displayed
Actual behavior
Securely save this card prompt is displayed
Device & build information
Notes
https://testrail.stage.mozaws.net/index.php?/cases/view/2306980 Automation test affected: XCUITests/CreditCardsTests#testUpdatePrompt Attachments:
┆Issue is synchronized with this Jira Task