Live account tests no longer work because of unverified test accounts
Categories
(Firefox for iOS :: Firefox Accounts, defect)
Tracking
()
People
(Reporter: sleroux, Unassigned)
References
Details
Comment 1•7 years ago
|
||
IIUC, we should be able to re-enable these tests by adding the email addresses to the new SIGNIN_CONFIRMATION_SKIP_FOR_EMAIL_ADDRESS
config variable in FxA:
https://github.com/mozilla/fxa-auth-server/blob/master/config/index.js#L651
We did this for a test account used by lockbox:
:justindarc what email address(es) do these tests use?
Comment 2•7 years ago
|
||
(If they're restmail accounts, the other thing you could do is fish the sign-in confirmation email out of restmail and manually confirm each signin, but what a waste of your time if we have the allowlist available server-side).
Comment 3•7 years ago
|
||
Ryan,
It appears as though the only account being used in a test environment is currently hard-coded as: 998797987.sync@restmail.net
https://github.com/mozilla-mobile/firefox-ios/blob/master/AccountTests/LiveAccountTest.swift#L134
Comment 4•7 years ago
|
||
How much of a pain would it be to create a new account for this purpose with a more descriptive name, like "firefox-ios-live-tests.sync@restmail.net" or similar? I'm just thinking about future maintainability of the config on the FxA side, someone's going to look at "998797987.sync@restmail.net" in a year's time and wonder what it's for :-)
Comment 5•7 years ago
|
||
Not a pain at all. I would gladly welcome a more meaningful account name :-)
firefox-ios-live-tests.sync@restmail.net sounds good to me!
Comment 6•7 years ago
|
||
Proposed config change in https://github.com/mozilla-services/cloudops-deployment/pull/2984
Comment 7•7 years ago
|
||
ni? Shane for comment on the above change; I also tagged you for review on the github issue, but I'm not sure if it'll notify you or not given that it's the private ops config repo.
![]() |
||
Comment 8•7 years ago
|
||
(In reply to Ryan Kelly [:rfkelly] from comment #7)
ni? Shane for comment on the above change; I also tagged you for review on the github issue, but I'm not sure if it'll notify you or not given that it's the private ops config repo.
This is a perfectly valid reason to disable signin confirmation for that email address. r+
Updated•3 years ago
|
Description
•