();
+ Assert.Equal("Oops, that component wasn't found!", app.FindElement(By.Id("test-info")).Text);
+ }
+
[Fact]
public void CanFollowLinkToOtherPage()
{
diff --git a/test/testapps/BasicTestApp/RouterTest/Error404.cshtml b/test/testapps/BasicTestApp/RouterTest/Error404.cshtml
new file mode 100644
index 000000000..6f0efadec
--- /dev/null
+++ b/test/testapps/BasicTestApp/RouterTest/Error404.cshtml
@@ -0,0 +1,2 @@
+@page "/Error404"
+Oops, that component wasn't found!
\ No newline at end of file
diff --git a/test/testapps/BasicTestApp/RouterTest/TestRouter.cshtml b/test/testapps/BasicTestApp/RouterTest/TestRouter.cshtml
index 59912840c..807a3ce00 100644
--- a/test/testapps/BasicTestApp/RouterTest/TestRouter.cshtml
+++ b/test/testapps/BasicTestApp/RouterTest/TestRouter.cshtml
@@ -1 +1 @@
-
+