Closed
Bug 1491791
Opened 7 years ago
Closed 7 years ago
"Add" button isn't grayed out when adding a wrong card number
Categories
(Firefox :: WebPayments UI, defect, P1)
Tracking
()
VERIFIED
FIXED
Firefox 64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | verified |
People
(Reporter: hyacoub, Assigned: jaws)
Details
(Whiteboard: [webpayments])
Attachments
(2 files, 1 obsolete file)
Affected versions]:
Nightly 64.0a1
[Affected platforms]:
Platforms: Windows 10/7 x64, Ubuntu 18.04, Mac OS 10.13
[Preconditions]:
1. Set the pref dom.payments.request.enabled to "true";
2. Make sure you have at least one Shipping Address and one Credit Card saved in your browser.
[Steps to reproduce]:
1. Go to "https://rsolomakhin.github.io/pr/single/" page and click on "Buy".
2. From "Payments Method" click on "Add".
3. Fill all the fields with correct data but leave "Card Number" empty for now.
4. Enter a valid Card number and observe "Add" button.
5. Add a any number to the card number.
6. Click anywhere and observe "Add" button.
[Expected result]:
"Add" button should be grayed out.
[Actual result]:
- Red outline is displayed all around the field.
- "Add" button isn't grayed out.
| Reporter | ||
Updated•7 years ago
|
Flags: qe-verify+
QA Contact: hani.yacoub
Whiteboard: [webpayments] [triage]
| Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P2
Whiteboard: [webpayments] [triage] → [webpayments]
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Priority: P2 → P1
| Assignee | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Attachment #9010065 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•7 years ago
|
||
The validity of the cc-number field is only updated to a failure state after the 'change' event in the EditCreditCard class, but there was no code within basic-card-form.js to update the Save button enabled state after the 'change' event had been handled by EditCreditCard.
Comment 4•7 years ago
|
||
Comment on attachment 9010339 [details]
Bug 1491791 - Update the Save button state after the 'change' event. r?MattN
Matthew N. [:MattN] (PM me if requests are blocking you) has approved the revision.
Attachment #9010339 -
Flags: review+
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/33a833eab418
Update the Save button state after the 'change' event. r=MattN
Comment 6•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
| Reporter | ||
Comment 7•7 years ago
|
||
Verified as fixed on Firefox Nightly 64.0a1 on Windows 10 x 64, Windows 7 x32, Mac OS X 10.13 and Ubuntu 18.04 x64.
You need to log in
before you can comment on or make changes to this bug.
Description
•