From 6fc0d62ecfa9a8fa63b3dbcf18769ee85655a065 Mon Sep 17 00:00:00 2001 From: antonio Date: Mon, 20 Mar 2017 15:58:58 +0100 Subject: [PATCH] [FIX] Fixed Phantom JS tests [FIX] Updated travis postgresql version [FIX] Updated phantom_js version in travis [FIX] Configured travis to run tests for this module in isolation mode [FIX] Configured travis to run tests for this module in isolation mode [FIX] Added group to demo_user for test purposes [FIX] Changed waiting condition on Phantom JS test [FIX] Removed Travis configuration for isolated test environment [FIX] Changed waiting condition in phantom_js test [FIX] Changed target action in phantom_js test [FIX] Changed target action in phantom_js test --- .../tests/test_base_import_security_group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base_import_security_group/tests/test_base_import_security_group.py b/base_import_security_group/tests/test_base_import_security_group.py index b2c48e2..985fe93 100644 --- a/base_import_security_group/tests/test_base_import_security_group.py +++ b/base_import_security_group/tests/test_base_import_security_group.py @@ -26,8 +26,8 @@ class TestImportSecurityGroup(common.HttpCase): }; }, 1000); """ % ('!' if falsify else '') - action = self.env.ref('base.action_partner_category_form') - link = '/web#action=%s' % action.id + action = self.env.ref('base.action_partner_category_form').id + link = '/web#action=%s' % action self.phantom_js( link, code, "$('button.o_list_button_add').length", login=user.login)