Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Components/test/E2ETest/Tests/ComponentRenderingTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public void BasicTestAppCanBeServed()
public void CanRenderTextOnlyComponent()
{
var appElement = Browser.MountTestComponent<TextOnlyComponent>();
Assert.Equal("Hello from TextOnlyComponent", appElement.Text);

Browser.Exists(By.XPath("//*[contains(., 'Hello from TextOnlyComponent')]"));
}

// This verifies that we've correctly configured the Razor language version via MSBuild.
Expand Down