Skip to content

test(e2e): Mongo CRUD, theme import, shutdown; e2e gate in release (#1052, #1053) - #1253

Merged
ZhuchkaTriplesix merged 6 commits into
devfrom
test/e2e-1050-1052-1053
Oct 9, 2026
Merged

ZhuchkaTriplesix merged 6 commits into
devfrom
test/e2e-1050-1052-1053

Conversation

@ZhuchkaTriplesix

@ZhuchkaTriplesix ZhuchkaTriplesix commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Refs #1050
Closes #1052
Closes #1053

#1050

Not in this PR: the connection-form scenarios (URI forms and SQLite through the dialog). They failed in enterText on the URI field and were removed rather than guessed; #1050 stays open for them.

#1052: Mongo explorer and CRUD

MongoService gets a test-only instanceForTest setter, so an in-memory service can stand in for a server. e2e_mongo_explorer_and_crud_test.dart: the collection list opens into the documents; a document is added through the dialog, a field is edited from its expanded card (Save to DB sends $set), and a document is deleted after the destructive confirmation. Cancelling the confirmation deletes nothing.

#1053: theme and shutdown

  • e2e_theme_import_and_morphing_test.dart: a JSONC VS Code theme (comments, trailing commas) recolours the running main screen in place; no frame of the switch has a light sidebar or editor; invalid JSON is refused with VsCodeThemeParseException.
  • e2e_app_lifecycle_and_shutdown_test.dart: with a pooled SQLite session and a running MCP server, closing the window stops the server, removes its endpoint file and closes the session. A setting written in one run is read in the next.
  • release.yml gets an E2E tests job (flutter test test/e2e), and publish waits for it, so a release cannot ship with a broken scenario.

Written without running locally; CI is the first run.

…hutdown; e2e gate in release (#1050, #1052, #1053)

- #1050: PostgreSQL, MySQL, Redis, MongoDB and SQLite connections created
  through the New connection dialog and their forms; New connection on a
  folder saves into it.
- #1052: collections open into documents; add, edit a field and delete
  with confirmation, against an in-memory MongoService (new test-only
  instanceForTest seam).
- #1053: an imported JSONC VS Code theme recolours the running app with
  no light frame; closing the window stops the MCP server and closes
  pooled sessions; a setting survives a restart. release.yml runs
  test/e2e and publishing waits for it.
@github-actions github-actions Bot added frontend Theme parser epic label: frontend tests Theme parser epic marketplace Extensions marketplace, ExtensionManifest core Core library logic and services ui User interface components and widgets connections Database connections, URI parsing, pools backend Backend database driver execution and queries P3 Low priority / Polish & Enhancements labels Oct 9, 2026
…rm variant, count Mongo cards

- The New connection dialog reads the extension registry from disk before
  it opens; the scenarios now give it real time.
- The linux variant made the title bar build bitsdojo's WindowBorder;
  ContextMenu opens on a secondary tap on every platform anyway.
- Collapsed Mongo cards show keys, not values: the scenario counts cards
  and checks the stored documents.
…rm scenarios

The type name and the buttons also appear under the picker's own label, so
the tap landed on a hidden widget and failed the hit test.
The name field is not in the form while a URI is typed, and the folder's
row is not hit-testable from the test. Scenarios now check the host the
URI names; the folder scenario waits for a reachable entry point.
The URI forms fail in enterText: the URI field is found but its
EditableText is not. Written without a local run, they were guessing at the
UI; the rest of the e2e suite passes. #1050 stays open for them.
@ZhuchkaTriplesix ZhuchkaTriplesix changed the title test(e2e): connection forms, Mongo CRUD, theme import, shutdown; e2e gate in release (#1050, #1052, #1053) test(e2e): Mongo CRUD, theme import, shutdown; e2e gate in release (#1052, #1053) Oct 9, 2026
@github-actions github-actions Bot removed the connections Database connections, URI parsing, pools label Oct 9, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 17bab57 into dev Oct 9, 2026
16 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the test/e2e-1050-1052-1053 branch October 11, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend database driver execution and queries core Core library logic and services frontend Theme parser epic label: frontend marketplace Extensions marketplace, ExtensionManifest P3 Low priority / Polish & Enhancements tests Theme parser epic ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant