Play-test from a running game returns into the game

Stop brings the player back to the scene they were in instead of the main
menu, and a scene switch inside the played scenario ends the play-test in
place. New GUI test suite ingame_play covers both.
This commit is contained in:
cthangover committed 2026-10-18 21:06:11 +02:00
1 parent bf4ac5e27a
commit bd9147e1b6
5 files changed
+228 -2

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
{
"name": "In-game Play-test Test",
"description": "Integration test of the scenario editor opened inside a running game (the novel template with the editors added): plays a scenario from the editor and checks the play-test stays in the game until Stop, then Stop returns to the game with the editor visible — never to the main menu. Activated by --itest=ingame_play.",
"sources": [
"src/*.cs"
],
"depends": [
"my_novel_game>=1"
]
}