diff --git a/src/Components/test/testassets/Components.TestServer/RazorComponents/Pages/EnhancedNav/PageWithServerRenderModeCanNavigate.razor b/src/Components/test/testassets/Components.TestServer/RazorComponents/Pages/EnhancedNav/PageWithServerRenderModeCanNavigate.razor
index 016c88a2e97cf..29afb243c102c 100644
--- a/src/Components/test/testassets/Components.TestServer/RazorComponents/Pages/EnhancedNav/PageWithServerRenderModeCanNavigate.razor
+++ b/src/Components/test/testassets/Components.TestServer/RazorComponents/Pages/EnhancedNav/PageWithServerRenderModeCanNavigate.razor
@@ -1,6 +1,6 @@
@page "/nav/render-mode-server-can-navigate"
@inject NavigationManager Nav
-@attribute [RenderModeServer]
+@attribute [RenderModeServer(Prerender = false)]