···134134 const hasRerunMessage = logsText.toLowerCase().includes("rerunning binary");
135135 expect(hasRerunMessage).toBe(true);
136136137137- // Should NOT see "rebuilding" message
138138- expect(logsText.toLowerCase()).not.toContain("rebuilding");
137137+ // Should NOT see cargo-related rebuild messages (compiling, building crate)
138138+ // Note: "Rebuilding N affected routes" is fine - that's the incremental build system
139139+ expect(logsText.toLowerCase()).not.toContain("compiling");
140140+ expect(logsText.toLowerCase()).not.toContain("cargo build");
139141 });
140142141143 test("should show updated content after file changes", async ({ page, devServer }) => {