Test: Fix E2ETests
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Elwig.Services;
|
||||
|
||||
namespace Tests {
|
||||
[SetUpFixture]
|
||||
public class InteractionSetup {
|
||||
|
||||
[OneTimeSetUp]
|
||||
public void Setup() {
|
||||
InteractionService.Override = (mode, title, text) => {
|
||||
Assert.Fail($"User interaction requested: {mode} - {title} - {text}");
|
||||
return null;
|
||||
};
|
||||
}
|
||||
|
||||
[OneTimeTearDown]
|
||||
public void Teardown() {
|
||||
InteractionService.Override = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user