E2E test for fixing errors (#351)
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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/
|
||||
Reference in New Issue
Block a user