Skip to content

Commit

Permalink
Fix missing realization type in Simulation label
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-el authored and sondreso committed Oct 28, 2024
1 parent 6153918 commit 9817d75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def add_sim_run_option(simulation_id: str) -> None:
if isinstance(widget, RunDialog):
add_sim_run_option(prev_date_time)
elif self.run_dialog_counter > 2:
add_sim_run_option(date_time)
add_sim_run_option(simulation_id)

self.results_button.setEnabled(True)

Expand Down
2 changes: 2 additions & 0 deletions tests/ert/ui_tests/gui/test_main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,3 +732,5 @@ def wait_for_simulation_completed():
run_experiment()
wait_for_simulation_completed()
assert len(button_simulation_status.menu().actions()) == 3
for choice in button_simulation_status.menu().actions():
assert "Single realization test-run" in choice.text()

0 comments on commit 9817d75

Please sign in to comment.