Open
Bug 532915
Opened 15 years ago
Updated 2 years ago
Add mochitest test for "edit message as new" in compose window
Categories
(Thunderbird :: Message Compose Window, defect)
Thunderbird
Message Compose Window
Tracking
(Not tracked)
NEW
People
(Reporter: Bienvenu, Unassigned, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=js][has draft patch])
Attachments
(1 file, 1 obsolete file)
We don't seem to have any tests for the compose window. So this is a start...The attached tests don't work because, for some reason, the compose window thinks the window is dirty, and puts up a modal dialog when I try to close it. It doesn't do this when I do the exact same steps in the UI, so it's probably some mozmill oddity that will take a couple days to track down.
Comment 1•15 years ago
|
||
So I've actually got small set of tests in bug 491921 that have done some compose window tests and have created a helper file for some of the functions (named slightly different to yours). We should try and merge, although mine are still waiting on dmose's review at the moment...
Reporter | ||
Comment 2•15 years ago
|
||
Yeah, we should merge these once dmose reviews it and it lands. I'm hoping all the timer stuff in wait_for_compose_window helps with the modal dialog on compose window close.
Reporter | ||
Comment 3•15 years ago
|
||
this almost works - I still get a close dialog when closing the edit message as new compose window, but we can worry about that when we merge with Standard8's patch.
Attachment #416088 -
Attachment is obsolete: true
Updated•11 years ago
|
Assignee: mozilla → nobody
Flags: in-testsuite?
Whiteboard: [patchlove][has draft patch]
Magnus, can you see if this patch is of any value today? There seem to be some compose tests in mail/test/mozmill/composition (not compose-window as in the patch). Maybe this is already covered?
Comment 5•11 years ago
|
||
It's mostly obsolete. However we don't have a open_compose_window_with_edit in test-compose-helpers.js so we could add a small test that "Edit Messaege as New" works.
Comment 7•11 years ago
|
||
We could just do the basics: check that the window comes up and that the content is what expected, attachments are there (if in original).
Assignee: acelists → syshagarwal
OS: Windows 7 → All
Hardware: x86 → All
Whiteboard: [patchlove][has draft patch] → [good first bug][mentor=aceman][lang=javascript][has draft patch]
Summary: Add mozmill tests for compose window → Add mozmill test for "edit message as new" in compose window
Assignee | ||
Updated•10 years ago
|
Mentor: acelists
Whiteboard: [good first bug][mentor=aceman][lang=javascript][has draft patch] → [good first bug][lang=javascript][has draft patch]
Updated•10 years ago
|
Whiteboard: [good first bug][lang=javascript][has draft patch] → [good first bug][lang=js][has draft patch]
Updated•5 years ago
|
Assignee: syshagarwal → nobody
Updated•4 years ago
|
Keywords: good-first-bug
Whiteboard: [good first bug][lang=js][has draft patch] → [lang=js][has draft patch]
Updated•4 years ago
|
Summary: Add mozmill test for "edit message as new" in compose window → Add mochitest test for "edit message as new" in compose window
Comment 8•4 years ago
|
||
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•