Added a button which ends an exercise of the test situation of the BeyondFacts Lab

This commit is contained in:
Thorsten Sommer committed 2026-11-15 16:34:48 +01:00
1 parent 4fcc0c8727
commit c08e5d7fb0
8 files changed
+73 -1

No files matched your search

@@ -140,6 +140,19 @@ public sealed class BflSimulationPromptTests
}
}
[Test]
public async Task ThePromptOfTheTestSituationTellsHowTheButtonEndsAnExercise()
{
var step = (await BflPromptLibrary.ReadAsync(BflPromptLibrary.StepPath(BflStep.TEST_SITUATION))).ReplaceLineEndings("\n");
using (Assert.EnterMultipleScope())
{
Assert.That(step, Does.Contain("\n### Übung beenden\n"));
Assert.That(step, Does.Contain("folge dann „Nach einer Übung“"));
Assert.That(step, Does.Contain("\n### Nach einer Übung\n"));
}
}
[Test]
public async Task TheServiceLoadsWhomOnlyTheTestSituationPlays()
{