Hack mozmill test-deletion-with-multiple-displays.js to work on trunk, by focusing the thread tree before starting off the tests. irc-r=asuth. xref bug 508090

--HG--
extra : rebase_source : 013768e3297bbf3ef20822286dbe85e29a0c27cc
This commit is contained in:
Siddharth Agarwal 2009-08-04 01:37:09 +05:30
Родитель 7de89cd007
Коммит 2c0d48ba74
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -180,6 +180,11 @@ function test_open_first_message_in_all_four_display_mechanisms() {
* (advancing to the next message).
*/
function test_delete_in_folder_tab() {
// XXX We need to do this to get the test working on trunk. If we don't have
// this, the deletes never happen, probably because we don't receive the delete
// keypress event.
focus_thread_tree();
// - plan to end up on the guy who is currently at index 1
curMessage = mc.dbView.getMsgHdrAt(1);
// while we're at it, figure out who is at 2 for the next step