diff --git a/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Tests/HeidenhainLiveIntegrationTests.cs b/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Tests/HeidenhainLiveIntegrationTests.cs index 020425a31..4ddff1680 100644 --- a/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Tests/HeidenhainLiveIntegrationTests.cs +++ b/tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Tests/HeidenhainLiveIntegrationTests.cs @@ -117,6 +117,11 @@ public sealed class HeidenhainLiveIntegrationTests if (values[i].StatusCode == HeidenhainStatus.Good) values[i].Value!.GetType().ShouldBe(expected[i]); } + + // Some controls (e.g. iTNC 530 NC 340490 03 SP10) refuse R_RI 51 with code 24 — the driver correctly + // publishes BadNotSupported for every tool leaf, so there is no runtime type to check there. + Assert.SkipWhen(values.All(v => v.StatusCode == HeidenhainStatus.BadNotSupported), + "Control does not support the R_RI 51 tool selector — tool leaves are BadNotSupported."); values.Count(v => v.StatusCode == HeidenhainStatus.Good).ShouldBeGreaterThan(0); } }