mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-19 06:55:59 +01:00
fix(tests): the black box text tests wait their turn with the other Avalonia ones
EventTextsTests and SecurityBrakingTests from #55 ran beside the Avalonia controls collection; their AppBuilder setup raced it and 28 UI tests failed with "Setup was already called" on every runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@ using Eu07.BlackBox.Views;
|
|||||||
|
|
||||||
namespace StarterNG.Tests.BlackBox;
|
namespace StarterNG.Tests.BlackBox;
|
||||||
|
|
||||||
|
[Collection(AvaloniaControls.Name)]
|
||||||
public class EventTextsTests
|
public class EventTextsTests
|
||||||
{
|
{
|
||||||
[Theory]
|
[Theory]
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using Eu07.BlackBox.Views;
|
|||||||
|
|
||||||
namespace StarterNG.Tests.BlackBox;
|
namespace StarterNG.Tests.BlackBox;
|
||||||
|
|
||||||
|
[Collection(AvaloniaControls.Name)]
|
||||||
public class SecurityBrakingTests
|
public class SecurityBrakingTests
|
||||||
{
|
{
|
||||||
// as the simulator writes them: one acknowledgement for both, so the cab signalling's buzzer is the alerter's too
|
// as the simulator writes them: one acknowledgement for both, so the cab signalling's buzzer is the alerter's too
|
||||||
|
|||||||
Reference in New Issue
Block a user