From ebd31deee59e8a13074414ff8cfe125fc8beaea0 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 23 May 2023 08:07:50 +0000 Subject: [PATCH] [FIX] web: avoid calling terminate_browser As the ChromeBrowser API was simplified in 2b0d9fa6a9, the terminate_browser method was removed but the shiny author forgot to remove the call in the click_everywhere test. closes odoo/odoo#122038 Signed-off-by: Xavier Morel (xmo) --- addons/web/tests/test_click_everywhere.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/web/tests/test_click_everywhere.py b/addons/web/tests/test_click_everywhere.py index 21df7961beb..8a562307dc6 100644 --- a/addons/web/tests/test_click_everywhere.py +++ b/addons/web/tests/test_click_everywhere.py @@ -15,7 +15,6 @@ class TestMenusAdmin(odoo.tests.HttpCase): with self.subTest(app=menus[app_id]['name']): _logger.runbot('Testing %s', menus[app_id]['name']) self.browser_js("/web", "odoo.__DEBUG__.services['web.clickEverywhere']('%s');" % menus[app_id]['xmlid'], "odoo.isReady === true", login="admin", timeout=600) - self.terminate_browser() @odoo.tests.tagged('click_all', 'post_install', '-at_install', '-standard') @@ -28,7 +27,6 @@ class TestMenusDemo(odoo.tests.HttpCase): with self.subTest(app=menus[app_id]['name']): _logger.runbot('Testing %s', menus[app_id]['name']) self.browser_js("/web", "odoo.__DEBUG__.services['web.clickEverywhere']('%s');" % menus[app_id]['xmlid'], "odoo.isReady === true", login="demo", timeout=600) - self.terminate_browser() @odoo.tests.tagged('post_install', '-at_install') class TestMenusAdminLight(odoo.tests.HttpCase):