Skip to content

Commit

Permalink
Dropdown Test Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ofaruk84 committed Sep 20, 2024
1 parent 1bee657 commit 1e5fa1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SiemensIXBlazor.Tests/Dropdown/DropdownTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ public void ComponentRendersWithCorrectProperties()
.Add(p => p.Placement, "bottom-start")
.Add(p => p.PositioningStrategy, "fixed")
.Add(p => p.Show, false)
.Add(p => p.IsForGroupContext, true)
.Add(p => p.SuppressAutomaticPlacement, false)
.Add(p => p.Trigger, "testTrigger")
.Add(p => p.ChildContent, (RenderFragment)(builder => builder.AddMarkupContent(0, "Test content"))));

// Assert
cut.MarkupMatches(
"<ix-dropdown id=\"testId\" trigger=\"testTrigger\" anchor=\"testAnchor\" close-behavior=\"both\" header=\"testHeader\" placement=\"bottom-start\" positioning-strategy=\"fixed\">Test content</ix-dropdown>");
"<ix-dropdown id=\"testId\" trigger=\"testTrigger\" anchor=\"testAnchor\" slot=\"dropdown\" close-behavior=\"both\" header=\"testHeader\" placement=\"bottom-start\" positioning-strategy=\"fixed\">Test content</ix-dropdown>");
}

[Fact]
Expand Down

0 comments on commit 1e5fa1e

Please sign in to comment.