Repository navigation
test(e2e): Mongo CRUD, theme import, shutdown; e2e gate in release (#1052, #1053) - #1253
Merged
Merged
Conversation
…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.
…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.
This was referenced Oct 11, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
enterTexton the URI field and were removed rather than guessed; #1050 stays open for them.#1052: Mongo explorer and CRUD
MongoServicegets a test-onlyinstanceForTestsetter, 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 withVsCodeThemeParseException.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.ymlgets anE2E testsjob (flutter test test/e2e), andpublishwaits for it, so a release cannot ship with a broken scenario.Written without running locally; CI is the first run.