diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index 505d88de7f6..9a2d3e4d643 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -3505,7 +3505,7 @@ def _dialog_finished(result_code): if widget is not None: dlg.add_page(widget) - for plugin in [self.appearance, self.workingdirectory, + for plugin in [self.appearance, self.run, self.workingdirectory, self.editor, self.projects, self.ipyconsole, self.historylog, self.help, self.variableexplorer, self.onlinehelp, self.explorer, self.findinfiles diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py index a1f7a32cc4f..beb6f229e3f 100644 --- a/spyder/app/tests/test_mainwindow.py +++ b/spyder/app/tests/test_mainwindow.py @@ -2331,6 +2331,16 @@ def preferences_dialog_helper(qtbot, main_window, section): return dlg, index, page +@pytest.mark.slow +def test_preferences_run_section_exists(main_window, qtbot): + """ + Test for spyder-ide/spyder#13524 regression. + + Ensure the Run section exists. + """ + assert preferences_dialog_helper(qtbot, main_window, 'run') + + @pytest.mark.slow def test_preferences_checkboxes_not_checked_regression(main_window, qtbot): """