E2E test for fixing errors (#351)

This commit is contained in:
Will Chen
2025-06-05 23:29:52 -07:00
committed by GitHub
parent d3fbb48472
commit 4907fcafd8
10 changed files with 140 additions and 6 deletions

View File

@@ -0,0 +1,25 @@
I will intentionally add an error
<dyad-write path="src/pages/Index.tsx" description="intentionally add an error">
// Update this page (the content is just a fallback if you fail to update the page)
import { MadeWithDyad } from "@/components/made-with-dyad";
const Index = () => {
throw new Error("Line 6 error");
return (
<div className="min-h-screen flex items-center justify-center bg-gray-100">
<div className="text-center">
<h1 className="text-4xl font-bold mb-4">Welcome to Your Blank App</h1>
<p className="text-xl text-gray-600">
Start building your amazing project here!
</p>
</div>
<MadeWithDyad />
</div>
);
};
export default Index;
</dyad-write>