From b64fd1d44c72c3f50dc65852a528cfb8d1632d04 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 29 Sep 2016 10:30:24 +0200 Subject: [PATCH] Fixing home e2e suite --- e2e/utils/lightbox.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e2e/utils/lightbox.js b/e2e/utils/lightbox.js index 8c041672..d88b50cd 100644 --- a/e2e/utils/lightbox.js +++ b/e2e/utils/lightbox.js @@ -56,8 +56,11 @@ lightbox.close = async function(el) { }, 4000); } catch (e) { new Error('Lightbox doesn\'t close') + return false; } } + + return true; }; lightbox.confirm = {};