Work on ability to test both v2net and v2win

This commit is contained in:
tznind
2025-03-19 20:54:13 +00:00
committed by Tig
parent 56d3835c37
commit 7712bc64b1
6 changed files with 104 additions and 20 deletions

View File

@@ -79,8 +79,10 @@ public class BasicFluentAssertionTests
Assert.True (clicked);
}
[Fact]
public void ContextMenu_OpenSubmenu ()
[Theory]
[InlineData(V2TestDriver.V2Win)]
//[InlineData (V2TestDriver.V2Net)] // TODO
public void ContextMenu_OpenSubmenu (V2TestDriver v2TestDriver)
{
var clicked = false;
@@ -110,7 +112,7 @@ public class BasicFluentAssertionTests
]
);
using GuiTestContext c = With.A<Window> (40, 10)
using GuiTestContext c = With.A<Window> (40, 10,v2TestDriver)
.WithContextMenu (ctx, menuItems)
.ScreenShot ("Before open menu", _out)