diff --git a/spyder/plugins/editor/plugin.py b/spyder/plugins/editor/plugin.py index d57f9881728..6cb5e6b7b9c 100644 --- a/spyder/plugins/editor/plugin.py +++ b/spyder/plugins/editor/plugin.py @@ -1060,6 +1060,10 @@ def get_plugin_actions(self): self.main.file_toolbar_actions += file_toolbar_actions # ---- Find menu/toolbar construction ---- + if not hasattr(self.main, 'search_menu_actions'): + # This list will not exist in the fast tests. + self.main.search_menu_actions = [] + self.main.search_menu_actions += [find_action, find_next_action, find_previous_action,