diff --git a/test/Bin/GameTest/CMakeLists.txt b/test/Bin/GameTest/CMakeLists.txt index c88a7c091bc6..d7517bf80c77 100644 --- a/test/Bin/GameTest/CMakeLists.txt +++ b/test/Bin/GameTest/CMakeLists.txt @@ -21,7 +21,7 @@ if(OE_BUILD_TESTS) ExternalProject_Add(OpenEnroth_TestData PREFIX ${CMAKE_CURRENT_BINARY_DIR}/test_data_tmp GIT_REPOSITORY https://github.com/OpenEnroth/OpenEnroth_TestData.git - GIT_TAG 61e29c1f0245b0eed29956ee2349f9c202ffa09a + GIT_TAG a55319b8e7b53e117527b2aef9ddaf710f53407c SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/test_data CONFIGURE_COMMAND "" BUILD_COMMAND "" diff --git a/test/Bin/GameTest/GameTests_1500.cpp b/test/Bin/GameTest/GameTests_1500.cpp index f4cd111dde63..2c8725618c3d 100644 --- a/test/Bin/GameTest/GameTests_1500.cpp +++ b/test/Bin/GameTest/GameTests_1500.cpp @@ -324,6 +324,16 @@ GAME_TEST(Issues, Issue1717) { EXPECT_TRUE(statusBar.contains("Immolation deals 77 damage to 2 target(s)")); } +GAME_TEST(Issues, Issue1725) { + // Finishing Strike the Devils quest on dark path glitches out game menus + auto screenTape = tapes.screen(); + auto textTape = tapes.allGUIWindowsText(); + test.playTraceFromTestData("issue_1725.mm7", "issue_1725.json"); + EXPECT_EQ(screenTape.back(), SCREEN_HOUSE); // Make sure we end up back in the throne room + EXPECT_GT(textTape.flattened().filtered([](const auto& s) { return s.starts_with("THAT WAS AWESOME!"); }).size(), 0); + EXPECT_TRUE(textTape.flattened().contains("Exit Building")); // And can exit it +} + GAME_TEST(issues, Issue1726) { // Blaster trainers do not check requirements and crash the game auto textTape = tapes.allGUIWindowsText();