From ff0bab8e555054f8033996be4eaac32b770e0bae Mon Sep 17 00:00:00 2001 From: Ben McMorran Date: Thu, 26 Jun 2014 13:47:34 -0400 Subject: [PATCH] Increases wait_for_notification timeout to 60 seconds --- common/test/acceptance/pages/studio/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/test/acceptance/pages/studio/utils.py b/common/test/acceptance/pages/studio/utils.py index b4e71cc02b..18351aae79 100644 --- a/common/test/acceptance/pages/studio/utils.py +++ b/common/test/acceptance/pages/studio/utils.py @@ -33,8 +33,8 @@ def wait_for_notification(page): num_notifications = len(page.q(css='.wrapper-notification-mini.is-hiding')) return (num_notifications == 1, num_notifications) - Promise(_is_saving, 'Notification should have been shown.').fulfill() - Promise(_is_saving_done, 'Notification should have been hidden.').fulfill() + Promise(_is_saving, 'Notification should have been shown.', timeout=60).fulfill() + Promise(_is_saving_done, 'Notification should have been hidden.', timeout=60).fulfill() def add_discussion(page, menu_index):