Closed Bug 1484721 Opened 6 years ago Closed 6 years ago

"Add" button is not correctly enabled/disabled when switching between countries

Categories

(Firefox :: WebPayments UI, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 63
Tracking Status
firefox63 --- verified

People

(Reporter: danibodea, Assigned: jaws)

References

Details

(Whiteboard: [webpayments])

Attachments

(1 file)

[Affected platforms]:
- All

[Affected versions]:
- Nightly v63.0a1

[Steps to reproduce]:
Precondition1: Set the pref dom.payments.request.enabled to "true";
Precondition2: Set the pref dom.payments.loglevel to “Debug” to increase the verbosity of console messages;
Precondition3: Cards data should NOT be saved on your current profile.
1. Launch Firefox and go to "https://rsolomakhin.github.io/pr/single/" and click on "Buy" button.
2. Fill all the required fields with correct information, but select US (the second selection from the drop-down) as the country.
3. Change the country to Canada (third selection from the drop-down).
[Expected result]:
- The "Add" button is grayed out.
[Actual result]:
- The "Add" button is NOT grayed out.
Furthermore:
4. Select the Canada option (third selection from the drop-down); the Zip Code will be invalid.
5. Select the US option (second selection); all the fields should be valid.
[Expected result]:
- The "Add" button is clickable.
[Actual result]:
- The "Add" button is grayed out.
Flags: qe-verify+
Whiteboard: [webpayments] [triage]
Summary: "Add" button is not correctly displayed when the switching between countries → "Add" button is not correctly displayed when switching between countries
Blocks: 1476345
Priority: -- → P2
QA Contact: hani.yacoub
Whiteboard: [webpayments] [triage] → [webpayments]
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Priority: P2 → P1
Summary: "Add" button is not correctly displayed when switching between countries → "Add" button is not correctly enabled/disabled when switching between countries
Comment on attachment 9004642 [details]
Bug 1484721 - Update the save button disabled state after changing the country select dropdown in the address-form. r?MattN

Matthew N. [:MattN] (PM if requests are blocking you) has approved the revision.
Attachment #9004642 - Flags: review+
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ad88fc39b67b
Update the save button disabled state after changing the country select dropdown in the address-form. r=MattN
https://hg.mozilla.org/mozilla-central/rev/ad88fc39b67b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
I have verified this fix on the 3 main OSes (Windows 10, Ubuntu 18 and Mac OS X 10.12.6) with Nightly v63.0a1 (2018-09-02).
Fix confirmed! Thank you!
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: