From 5c5ec8ae9aecd0bf98597eee0047f0d0cdee2243 Mon Sep 17 00:00:00 2001
From: mattab <matthieu.aubry@gmail.com>
Date: Tue, 15 Sep 2015 15:54:40 +1200
Subject: [PATCH] Ui test: wait for iframe before taking screenshot

---
 tests/UI/specs/OptOutForm_spec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/UI/specs/OptOutForm_spec.js b/tests/UI/specs/OptOutForm_spec.js
index 493b74b20c..c904f5b5c9 100644
--- a/tests/UI/specs/OptOutForm_spec.js
+++ b/tests/UI/specs/OptOutForm_spec.js
@@ -28,7 +28,7 @@ describe("OptOutForm", function () {
             page.evaluate(function () {
                 $('iframe#optOutIframe').contents().find('input#trackVisits').click();
             });
-            page.wait(1000); // wait for iframe to reload
+            page.wait(2000); // wait for iframe to reload
         }, done);
     });
 
-- 
GitLab