[Pkg-mozext-commits] [compactheader] 329/441: Handle evolution import dialog in mozmill tests for compatibitlity check with lightning

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:29:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository compactheader.

commit 7565269e2b9267f397bb324de7bbc71fd9074d69
Author: Joachim Herb <Joachim.Herb at gmx.de>
Date:   Sun Jan 8 22:36:05 2012 +0100

    Handle evolution import dialog in mozmill tests for compatibitlity check with lightning
---
 test/compactheader/test-compactheader-preferences.js | 8 ++++++++
 test/compactheader/test-compactheader-toolbar.js     | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/test/compactheader/test-compactheader-preferences.js b/test/compactheader/test-compactheader-preferences.js
index a8b0c40..4024be0 100644
--- a/test/compactheader/test-compactheader-preferences.js
+++ b/test/compactheader/test-compactheader-preferences.js
@@ -95,6 +95,14 @@ function setupModule(module) {
   let chh = collector.getModule('compactheader-helpers');
   chh.installInto(module);
 
+  // Get rid of possibly showing up lightning import wizard
+  // Get rid of possibly showing up lightning import wizard
+  let wizard = Services.wm.getMostRecentWindow("Calendar:MigrationWizard");
+  if (wizard) {
+    close_window(wizard);
+    mc = open3PaneWindow();
+  }
+
   folder1 = create_folder("MessageWindowC");
   folder2 = create_folder("MessageWindowD");
 
diff --git a/test/compactheader/test-compactheader-toolbar.js b/test/compactheader/test-compactheader-toolbar.js
index 8846d0a..2529c8d 100644
--- a/test/compactheader/test-compactheader-toolbar.js
+++ b/test/compactheader/test-compactheader-toolbar.js
@@ -64,6 +64,13 @@ function setupModule(module) {
   let chh = collector.getModule('compactheader-helpers');
   chh.installInto(module);
 
+  // Get rid of possibly showing up lightning import wizard
+  let wizard = Services.wm.getMostRecentWindow("Calendar:MigrationWizard");
+  if (wizard) {
+    close_window(wizard);
+    mc = open3PaneWindow();
+  }
+  
   folder1 = create_folder("MessageWindowB");
 
   // create a message that has the interesting headers that commonly

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/compactheader.git



More information about the Pkg-mozext-commits mailing list