Skip to content

test(e2e): Mongo aggregation pipeline and Add Document - #1120

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/1052-e2e-mongo-aggregation-crud
Oct 8, 2026
Merged

ZhuchkaTriplesix merged 2 commits into
devfrom
issue/1052-e2e-mongo-aggregation-crud

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1052.

  • e2e_mongo_aggregation_runner_test.dart: $match + $group pipeline assembly and export, broken second stage reports Stage #2 and does not run, disabled stage counts.
  • e2e_mongo_add_document_test.dart: invalid EJSON is rejected, a fixed draft returns typed values (ObjectId, DateTime, nested arrays), Cancel inserts nothing.

Not covered here: executing the pipeline and inserting against a server — MongoService.instance is a final singleton with no fake.

@github-actions github-actions Bot added tests Theme parser epic core Core library logic and services ui User interface components and widgets backend Backend database driver execution and queries P3 Low priority / Polish & Enhancements labels Oct 8, 2026

@ZhuchkaTriplesix ZhuchkaTriplesix left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

123

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit a06aeee into dev Oct 8, 2026
13 checks passed
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 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