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 = {};