Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Jan 21, 2025
1 parent 2bbc5d3 commit 7e3f033
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/ert/ui_tests/gui/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
]
Expand Down
4 changes: 3 additions & 1 deletion tests/ert/ui_tests/gui/test_csv_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 7e3f033

Please sign in to comment.