Closed Bug 492954 Opened 15 years ago Closed 15 years ago

Create a set of MozMill template/shared functions for folder actions in Thunderbird

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: standard8, Unassigned)

References

Details

Attachments

(1 file)

Attached patch WIPSplinter Review
Talking to Gary on irc about bug 491921, it became clear we needed to bring the content policy test up to the UI level a bit more. I started to investigate this and have decided we need some shared modules so we can make it easy to do various actions within mozmill tests that will probably get repeated frequently.

I've done an initial function - createTestFolder - that interacts with modal dialogs, see the attached patch. This also imports the modal dialog shared module from the MoCO QA repository (slightly modified for our new folder dialog).

I think this function can be moved into its own shared module file, e.g. testFoldersAPI.js or something like that. We should then consider adding the following actions:

  // XXX Need tests/functions for:
  // findFolder
  // deleteFolder
  // createFolder
  // findTrash
  // emptyTrash
  // add email to folder

I'm hoping that given my initial template (attached), Gary can set up these functions and a test involving all of them.

Then we can start on revising the existing content policy and writing new ones.
Note that MozMill 1.1 has async support, as per <http://www.mikealrogers.com/archives/471>, so it should be possible to fix the stuff in my XXX comment in that patch.
(In reply to comment #0)
> I think this function can be moved into its own shared module file, e.g.
> testFoldersAPI.js or something like that. We should then consider adding the
> following actions:

Due to various (personal or otherwise) reasons I wasn't able to do much Mozmill work over the summer - won't have time for it in the future either as school starts. Deassigning.

Also, I think asuth has done up some work on the Mozmill shared modules. asuth, are you able to provide an update?
Assignee: gary → nobody
Version: unspecified → Trunk
I think we have the broad strokes in place, so marking WFM.  Further developments can happen on bugs as they need the functionality for specific tests.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: