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,8 @@
- button:
- img
- img
- text: Error Line 6 error
- img
- text: "Tip: Check if restarting the app fixes the error."
- button "Fix error with AI":
- img

View File

@@ -0,0 +1,8 @@
- button:
- img
- img
- text: "/Error Line 6 error Stack trace: Index \\(http:\\/\\/localhost:\\d+\\/src\\/pages\\/Index\\.tsx:6:6\\)/"
- img
- text: "Tip: Check if restarting the app fixes the error."
- button "Fix error with AI":
- img

View File

@@ -0,0 +1,20 @@
- paragraph: tc=create-error
- paragraph: I will intentionally add an error
- img
- text: Index.tsx
- img
- text: "src/pages/Index.tsx Summary: intentionally add an error"
- img
- text: Approved
- paragraph: "/Fix error: Error Line 6 error Stack trace: Index \\(http:\\/\\/localhost:\\d+\\/src\\/pages\\/Index\\.tsx:6:6\\)/"
- code: Fixing the error...
- img
- text: Index.tsx
- img
- text: src/pages/Index.tsx
- img
- text: Approved
- button "Undo":
- img
- button "Retry":
- img

View File

@@ -0,0 +1,6 @@
- region "Notifications (F8)":
- list
- region "Notifications alt+T"
- heading "No more errors!" [level=1]
- link "Made with Dyad":
- /url: https://www.dyad.sh/