Skip to content

E2E: snippet and note-life journeys replace their scenarios - #1862

Merged
vmillet-dev merged 1 commit into
dev/1.3.2from
e2e-snippet-life
Dec 4, 2026
Merged

vmillet-dev merged 1 commit into
dev/1.3.2from
e2e-snippet-life

Conversation

@vmillet-dev

Copy link
Copy Markdown
Owner

Stacked on #1860 and #1861: their commits show here until they merge.

Closes #1831

Journeys 2 (02_snippet_to_paste) and 3 (03_keeping_a_note) of #1715, each in a single launch, and the actions they need in the SDK (attachments, files, history, json, trash, and more of editor, fields, notes).

DEVNOTES_E2E_DIALOG now names a file the scenario writes the dialog's answer in, read at each question: a journey attaches one file, then saves another elsewhere, in one launch.

Every step of the old files

File Step Now
02_note_lifecycle a draft that is not a note, written once worth keeping, Ctrl+N, opened from its card, the relaunch 2.1, 2.5
the ghost 6.5 (#1833)
the kind menu, the keys of the other kinds 4 (#1832)
the icons and the formats of a card dropped: a layout
04_trash_and_undo the bar's Undo, Ctrl+Z, the trash restored, purged, emptied, the relaunch 3.4, 3.5
the card's menu and its second click, Delete called off by Escape, a dismissed offer, the trash's search and Restore all dropped, held by card/actions (deleting_from_the_menu_takes_two_clicks), canvas/shortcuts (delete_arms_the_card_escape_disarms_it_twice_trashes_it), undo_bar (a_dismissed_offer_leaves_nothing_for_ctrl_z), trash_panel (a_search_narrows_the_list_and_restoring_reaches_what_it_found)
the priorities' submenu under the pointer dropped, card/actions; the priority is given from its digit (3.1)
08_placeholder_fields the keyboard, the card, filled, kept, cancelled, as is, the body shown filled 2.2, 2.6
the panel's count and its fold dropped, held by editor/fields/tests
11_attachments kept, lightbox, counted, two of one name, second click, over the limit 3.2
the empty strip dropped, held by editor/attachments/tests
the plain copies swept at the exit and the launch dropped, held by the unit test the_decrypted_copies_live_under_the_profile_and_go_in_one_sweep
22_note_history all 3.3
26_formatting the button, its Undo, a syntax error, a language Prettier does not read; Shift+Alt+F 2.3; 1.3
the indentation and Format on save dropped, held by editor/format/tests
27_json_explorer the graph, everything folded and opened, a match shown in the code, the tree, side by side 2.4
a row that closes its container, the arrows, too narrow for both, a broken draft dropped, held by json_explorer/view_tests and editor/json_view/tests
41_note_fullscreen expanded, a title written when the next note opens 2.5, 2.6
the details' column, the rail folded under it, the tasks narrowed dropped, held by editor/tests and checklist/tests (expanded_the_tasks_shown_narrow_to_those_open_or_done)
03_editing_a_note written on the way out, the footer, Tab and the find bar, full screen, the header folded, J 2.1, 2.5, 2.6, 1.3
38_recette_notes NOT-02, NOT-07, COD-01, COD-09, COD-15, CLV-01, CLV-02, MET-04 2.1, 2.5, 2.1, 2.3, 2.5, 2.6, 2.2 and 2.6, 3.1
NOT-06, COD-12, the second P dropped, held by state/editor, editor/search_bar and canvas/shortcuts
NOT-10 4.5 (#1832)

03_editing_a_note and 38_recette_notes stay until the last lot that walks them.

Lines: 1,026 in eight files → 474 in two journeys. Launches: 9 tests and their relaunches → 2. Locally (Windows): 15 s and 20 s.

@vmillet-dev vmillet-dev added the test Test suites: coverage, structure, reliability label Dec 3, 2026
@vmillet-dev
vmillet-dev force-pushed the e2e-snippet-life branch 2 times, most recently from f0f9f26 to 8c7cc84 Compare December 3, 2026 22:50
A scenario writes down what the file dialog answers, and can change it as it goes.
@vmillet-dev
vmillet-dev merged commit 372f04b into dev/1.3.2 Dec 4, 2026
2 checks passed
@vmillet-dev
vmillet-dev deleted the e2e-snippet-life branch December 4, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Test suites: coverage, structure, reliability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant