[COMPASS-6731] E2E tests for the new export modal Created: 18/Apr/23  Updated: 08/May/23  Resolved: 03/May/23

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by COMPASS-6582 Remove new export feature flag, remov... Closed
Epic Link: COMPASS-5576
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Ankylosaurus

 Description   

Add tests for the new flows, ensure the existing ones work:

  • export aggregation to json/csv
  • export full collection to json/csv
  • export query without projection to json/csv
  • export query with projection to json/csv
  • export query with select fields to json/csv
  • abort export in progress
  • ensure abort on disconnect
  • export _id field (nested)

Maybe also at least one test that passes every possible query option (skip, limit, sort, filter, project, collection).



 Comments   
Comment by Githook User [ 08/May/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-e2e-tests, compass-import-export): add export e2e tests COMPASS-6731 (#4315)
Branch: bump-ejson-shell-parser-1.2.4
https://github.com/mongodb-js/compass/commit/28d3c6ea9e684b19e4fcfd38c8b4e94fba06844f

Comment by Githook User [ 04/May/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-e2e-tests, compass-import-export): add export e2e tests COMPASS-6731 (#4315)
Branch: COMPASS-5583-use-aggregation-collStats-currentOp
https://github.com/mongodb-js/compass/commit/28d3c6ea9e684b19e4fcfd38c8b4e94fba06844f

Comment by Githook User [ 03/May/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-e2e-tests, compass-import-export): add export e2e tests COMPASS-6731 (#4315)
Branch: main
https://github.com/mongodb-js/compass/commit/28d3c6ea9e684b19e4fcfd38c8b4e94fba06844f

Comment by Githook User [ 03/May/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-import-export, compass-e2e-tests): add export e2e tests COMPASS-6731 (#4310)
Branch: COMPASS-5583-use-aggregation-collStats-currentOp
https://github.com/mongodb-js/compass/commit/07a892207f0c33a49a10f047b8e98d59fb1df676

Comment by Githook User [ 30/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-import-export, compass-e2e-tests): add export e2e tests COMPASS-6731 (#4310)
Branch: main
https://github.com/mongodb-js/compass/commit/07a892207f0c33a49a10f047b8e98d59fb1df676

Generated at Wed Feb 07 22:44:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.