Closed
Bug 908944
Opened 11 years ago
Closed 6 years ago
Add utility for stuffing messages into inbox for integration tests
Categories
(Firefox OS Graveyard :: Gaia::E-Mail, defect, P4)
Firefox OS Graveyard
Gaia::E-Mail
Tracking
(blocking-b2g:-)
RESOLVED
WONTFIX
blocking-b2g | - |
People
(Reporter: jlal, Unassigned)
References
Details
(Keywords: perf, Whiteboard: [c=profiling p= s= u=])
We need this to correctly test some things where sending an email from the ui to the ui is not enough.
Reporter | ||
Comment 1•11 years ago
|
||
Per my discussion with asuth: for imap: - extract out messageGenerator.js to its own repo - APPEND messages to the imap server - try to refactor reuse as much as possible as GELAM - probably needs to be in tree (gaia)
Comment 2•11 years ago
|
||
Andrew/James, Is anyone actively working on this or is there a plan for when someone will work on this?
Comment 3•11 years ago
|
||
Not actively being worked yet; probably will get worked soon as some of the more complex e-mail periodic sync integration tests will likely require the changes. Experience-wise, myself or James Lal are the best choices, but time/dependency-wise it will probably fall to James Burke who is the one actually implementing those integration tests (and who will then have the experience! :) Time-frame for that would probably be sometime next week, but maybe another week depending on what blockers come up.
Comment 4•11 years ago
|
||
Maybe with some support from Andrew I could give this one a shot?
Flags: needinfo?(bugmail)
Comment 5•11 years ago
|
||
Indeed; great further e-mail ramp-up bug for you. I don't think my mind grokked that the share bug was done! Basically, we want to extract the path done by do_addMessagesToFolder in th_main.js and add a little more of a friendly shim around the message definition, I think. Right now you either define a set descriptor or provide a function that creates a list of messages. We probably also want to also accept an array of message creation descriptors that the messageGenerator.js likes. Then we use the th_fake_imap_server.js-type stuff to tell the IMAP server to insert the messages in, just like we do in the e-mail back-end tests. (It is what actually does the APPEND). We do want maximum overlap, so migrating things out of GELAM into mail-fakeservers or some other repo is good so that the GELAM tests still use the same logic. I need to finish packing for work travel right now and will be incommunicado today and tomorrow, but I discussed this pretty in-depth with James Lal, so hopefully he can help provide guidance.
Assignee: nobody → gaye
Status: NEW → ASSIGNED
Flags: needinfo?(bugmail)
Updated•11 years ago
|
blocking-b2g: --- → koi?
Comment 6•11 years ago
|
||
Discussed in triage, that is not a blocker but we may uplift it depending on when in cycle we have the test.
blocking-b2g: koi? → -
Updated•11 years ago
|
Assignee: gaye → nobody
Updated•10 years ago
|
Priority: -- → P4
Comment 7•6 years ago
|
||
Firefox OS is not being worked on
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•