You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: two-step extract preview with editable fields before create
Extract now calls extract-note-preview and shows an editable preview in the
refinement modal; Create note persists via create-extracted-note. E2E covers
the two-step flow and saving edited preview content.
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy file name to clipboardExpand all lines: e2e_test/features/assimilation/note_refinement.feature
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -58,9 +58,19 @@ Feature: Note refinement
58
58
| C | 2 | true |
59
59
| D | 1 | |
60
60
| E | 1 | |
61
-
And I extract refinement layout points "B" and "D" to a new note
61
+
And I open extraction preview for refinement layout points "B" and "D"
62
+
And I create the note from the extraction preview
62
63
Then the note title should be "Point B and D"
63
64
And I should see folder "Sample tree/Context" containing these notes:
64
65
| note-title |
65
66
| Sample |
66
67
| PointBandD |
68
+
69
+
Scenario: Save edited extraction preview content
70
+
Given OpenAI will extract layout points "B and D" to a new note with title "Point B and D" and content "Combined B and D" and updated parent content "A. C. E."
71
+
When I am assimilating the note "Sample"
72
+
And I open extraction preview for refinement layout points "B" and "D"
73
+
And I edit the extraction preview to title "Edited B and D" and content "Edited combined content" and updated parent content "A. C. E. edited"
74
+
And I create the note from the extraction preview
75
+
Then the note title should be "Edited B and D"
76
+
And I should see note "Sample tree/Context/Sample" has content "A. C. E. edited"
0 commit comments