Skip to content

Commit

Permalink
chore: Run test only when tooltips are enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed May 8, 2024
1 parent 8773256 commit 8ee3dc9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,14 @@ public async Task When_Slider_Constrained_Vertical()

#if HAS_UNO
[TestMethod]
public async Task When_Slider_Value_Decimal()
public async Task When_Value_Decimal()
{
if (!FeatureConfiguration.ToolTip.UseToolTips)
{
Assert.Inconclusive("ToolTips are not enabled on this target");
return;
}

var slider = new Slider()
{
Value = 0.5,
Expand Down

0 comments on commit 8ee3dc9

Please sign in to comment.