Closed Bug 1720547 Opened 3 years ago Closed 3 years ago

Outgoing username field is not disabled when "No Authentication" is selected from the outgoingAuthMethod

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 91
defect

Tracking

(thunderbird91+ fixed)

RESOLVED FIXED
92 Branch
Tracking Status
thunderbird91 + fixed

People

(Reporter: aleca, Assigned: aleca)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

We dropped the IDs for those select options so we should rely on the selectedIndex as we won't change it.

Status: NEW → ASSIGNED
Version: unspecified → Thunderbird 91

Why not re-add the IDs for this purpose? That should be more reliable and readable than the index.

(In reply to Ben Bucksch (:BenB) from comment #1)

Why not re-add the IDs for this purpose? That should be more reliable and readable than the index.

Yeah, that sounds good to me.

Used the occasion to add a test covering this scenario.

Patch looks good to me. Just a small change suggested.

Attachment #9231240 - Attachment description: Bug 1720547 - Disable outgoing username field if 'No Authentication' is selected in outgoingAuthMethod. r=darktrojan → Bug 1720547 - Disable outgoing username field if 'No Authentication' is selected in outgoingAuthMethod. r=rjl,BenB
Target Milestone: --- → 92 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b996db48beaa
Disable outgoing username field if 'No Authentication' is selected in outgoingAuthMethod. r=rjl,BenB

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

TEST-UNEXPECTED-FAIL | comm/mail/test/browser/account/browser_mailAccountSetupWizard.js | Uncaught exception - Timeout waiting for the outgoing username field to be disabled - timed out after 50 tries.

The test passes locally, as usual.
Based on the screenshot (https://firefoxci.taskcluster-artifacts.net/d4FIfitwQU2-cfLNnPl7xA/0/public/test_info/mozilla-test-fail-screenshot_fwgrfylb.png), this seems to be once again related to the fact that the item in which we try to simulate the click is not inside the visible viewport.
I'll take care of this in a tiny follow up patch.

See Also: → 1721103

Calling this checkin-needed even though it's still WIP in Phab.

Attachment #9231728 - Attachment description: WIP: Bug 1720547 - Follow up: Fix outgoing auth select broken test. rs=bustage-fix DONTBUILD → Bug 1720547 - Follow up: Fix outgoing auth select broken test. rs=bustage-fix

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/8f740fa48cd8
Follow up: Fix outgoing auth select broken test. r=darktrojan

Comment on attachment 9231240 [details]
Bug 1720547 - Disable outgoing username field if 'No Authentication' is selected in outgoingAuthMethod. r=rjl,BenB

[Approval Request Comment]
Regression caused by (bug #): 5df88be32508
User impact if declined: Username field is still active when it should not be
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
UI bug. Confusing to the user to have the username field active unexpectedly.

Attachment #9231240 - Flags: approval-comm-beta?

Comment on attachment 9231240 [details]
Bug 1720547 - Disable outgoing username field if 'No Authentication' is selected in outgoingAuthMethod. r=rjl,BenB

[Triage Comment]
Approved for beta

Attachment #9231240 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: