Closed Bug 1135651 Opened 11 years ago Closed 11 years ago

Sanitise e-mail test variables

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davehunt, Assigned: davehunt)

References

Details

Attachments

(3 files)

A failure running our e-mail tests via the remote device lab (see bug 1135638) brought my attention to some issues with our e-mail test variables. At the moment we have SMTP account details within the IMAP dictionary, and several keys have a superfluous prefix. Let's clean this up.
This patch adds the new keys to the test variable files. The next patch will make use of these keys, and once it's landed we can remove the obsolete keys.
Attachment #8567909 - Flags: review?(jlorenzo)
Comment on attachment 8567909 [details] [review] Link to Github pull-request: https://github.com/mozilla/webqa-credentials/pull/192 I don't see any change which should be here. r+!
Attachment #8567909 - Flags: review?(jlorenzo) → review+
Note that this needs to land after the gaiatest patch lands.
Attachment #8567952 - Flags: review?(jlorenzo)
Comment on attachment 8567952 [details] [review] Link to Github pull-request: https://github.com/mozilla/webqa-credentials/pull/193 Like you told me on IRC, we can get rid of the "name"s variables. Looks good to me!
Attachment #8567952 - Flags: review?(jlorenzo) → review+
Comment on attachment 8567914 [details] [review] [gaia] davehunt:bug1135651 > mozilla-b2g:master Forgot to request review on this one - it needs to land before the final webqa-credentials one.
Attachment #8567914 - Flags: review?(jlorenzo)
Comment on attachment 8567914 [details] [review] [gaia] davehunt:bug1135651 > mozilla-b2g:master I don't see any issue in this refactor. I applied the changes to my testvars.json file and run the tests under functional/email, everything passed except: * test_setup_and_send_active_sync_email.py * test_receive_active_sync_email.py * test_IMAP_email_notification.py (due to bug 1132479) I copied the credentials from the webqa-credentials repo but the Email app says they are not correct. Asking John for a second review to be safe.
Attachment #8567914 - Flags: review?(jlorenzo)
Attachment #8567914 - Flags: review?(jdorlus)
Attachment #8567914 - Flags: review+
As I understand it the ActiveSync accounts are dedicated to specific devices. I've therefore triggered an adhoc build in Jenkins: http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc/707/
Flags: needinfo?(dave.hunt)
The last adhoc ran on a device without ActiveSync account details in the testvars. I've triggered another on a specific device: http://jenkins1.qa.scl3.mozilla.com/job/flame-kk.ui.adhoc/708/
Blocks: 1136122
Hmm.. it seems the ActiveSync tests are actually disabled due to bug 1028192. If that's the case, can we go ahead and land this?
Flags: needinfo?(dave.hunt) → needinfo?(jlorenzo)
Comment on attachment 8567914 [details] [review] [gaia] davehunt:bug1135651 > mozilla-b2g:master My bad, I know why they got run on my device: I asked to run gaiatest/tests/functional/email instead of the manifest in it. I'm okay with landing these patches.
Flags: needinfo?(jlorenzo)
Attachment #8567914 - Flags: review?(jdorlus)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: