From 7e3f033ff58f91d7b2ff27b8f11ed9102b8d125d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Berland?= Date: Tue, 21 Jan 2025 08:14:29 +0100 Subject: [PATCH] wip --- tests/ert/ui_tests/gui/conftest.py | 4 +++- tests/ert/ui_tests/gui/test_csv_export.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/ert/ui_tests/gui/conftest.py b/tests/ert/ui_tests/gui/conftest.py index bfdddf77a97..609d14ffd2e 100644 --- a/tests/ert/ui_tests/gui/conftest.py +++ b/tests/ert/ui_tests/gui/conftest.py @@ -239,7 +239,9 @@ def func(experiment_mode, gui, click_done=True): assert isinstance(experiment_panel, ExperimentPanel) simulation_mode_combo = experiment_panel.findChild(QComboBox) assert isinstance(simulation_mode_combo, QComboBox) - simulation_mode_combo.setCurrentText(experiment_mode.name()) + simulation_mode_combo.setCurrentText( + experiment_mode.name() + experiment_mode.name_extranote() + ) simulation_settings = experiment_panel._experiment_widgets[ experiment_panel.get_current_experiment_type() ] diff --git a/tests/ert/ui_tests/gui/test_csv_export.py b/tests/ert/ui_tests/gui/test_csv_export.py index 9452c236b86..cbcab320eaf 100644 --- a/tests/ert/ui_tests/gui/test_csv_export.py +++ b/tests/ert/ui_tests/gui/test_csv_export.py @@ -89,7 +89,9 @@ def test_csv_export(esmda_has_run, qtbot, ensemble_select): def run_experiment_via_gui(gui, qtbot): experiment_panel = get_child(gui, ExperimentPanel) simulation_mode_combo = get_child(experiment_panel, QComboBox) - simulation_mode_combo.setCurrentText(EnsembleExperiment.name()) + simulation_mode_combo.setCurrentText( + EnsembleExperiment.name() + EnsembleExperiment.name_extranote() + ) ensemble_experiment_panel = get_child(experiment_panel, EnsembleExperimentPanel) ensemble_experiment_panel._ensemble_name_field.setText("iter-0")