[COMPASS-4992] Create basic set of e2e tests for bundled Compass application Created: 05/Aug/21  Updated: 29/Oct/23  Resolved: 23/Aug/21

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

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Sergey Petushkov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by COMPASS-5024 Add all smoke tests sans the connecti... Open
is depended on by COMPASS-4994 Add all connectivity tests from Compa... Closed
Related
is related to COMPASS-4993 Deploy devtools-docker-test-envs usin... Closed
Story Points: 5
Documentation Changes: Not Needed
UserVoice Links:

This is a follow-up to the mini-skunkworks work done in compass/2382. We want to have at least some guarantees that Compass app is functional every time we make changes to the app.

For that purpose we want to introduce a set of e2e tests following Compass feature testing matrix and/or smoke checklist. This would be a lot of work upfront thought, especially for connectivity tests, so we want to start small and in the scope of this particular ticket we want to introduce a very basic setup that just tests if connecting to a few basic configs works (we can use our team test atlas env and mongodb-runner, this doesn't require any convoluted setup) and some basic Compass functionality (maybe a single item from every section in testing matrix)

Sprint: Iteration Ibadan, Iteration Johannesburg

 Comments   
Comment by Githook User [ 25/Aug/21 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-e2e-tests): Add basic end-to-end tests COMPASS-4992 (#2397)

  • refactor(hadron-build): Misc release script consistency changes
  • Only use env before running the script to derive target settings
  • Use the same less compiled cache path in dev and prod
  • Do not store cache metadata in package.json
  • Normalize usage of resources path
  • chore(mongodb-compass): Only include misc dev tooling when node_end is development
  • chore(@mongodb-js/compass-connect): Add a bunch of data-test-ids; Use buttons where a button should be used
  • chore(mongodb-compass): Remove eval override

It's not helpful and breaks spectron when running e2e tests locally

  • chore(hadron-build): Remove unused methods and provide jsdoc descriptions
  • chore(@mongodb-js/compass-shell): Provide data-test-ids and apply misc aria fixes
  • feat(compass-e2e-tests): Add initial e2e test setup and some very basic connection tests
  • chore: Fix depalign issues
  • chore: Fix depcheck issues
  • chore(@mongodb-js/compass-connect): Replace react-ios-switch with leafygreen toggle
  • ci(github): Run e2e tests against packaged application in CI
  • test(@mongodb-js/compass-connect): Fix failing toggle tests
  • chore(compass-e2e-tests): Move the cheese around
  • chore(mongodb-e2e-test): Write spectron logs when running in CI
  • chore(compass-e2e-tests): Upload spectron logs in ci; Use debug instead of console log; Provide driver args to work around ci issues
  • ci(github): Provide e2e test vars for check-test workflow
  • fix: Revert changes to evergreen config and compass index.html
Comment by Githook User [ 20/Aug/21 ]

Author:

{'name': 'Sergey', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-e2e-tests): Add basic end-to-end tests COMPASS-4992 (#2397)

  • refactor(hadron-build): Misc release script consistency changes
  • Only use env before running the script to derive target settings
  • Use the same less compiled cache path in dev and prod
  • Do not store cache metadata in package.json
  • Normalize usage of resources path
  • chore(mongodb-compass): Only include misc dev tooling when node_end is development
  • chore(@mongodb-js/compass-connect): Add a bunch of data-test-ids; Use buttons where a button should be used
  • chore(mongodb-compass): Remove eval override

It's not helpful and breaks spectron when running e2e tests locally

  • chore(hadron-build): Remove unused methods and provide jsdoc descriptions
  • chore(@mongodb-js/compass-shell): Provide data-test-ids and apply misc aria fixes
  • feat(compass-e2e-tests): Add initial e2e test setup and some very basic connection tests
  • chore: Fix depalign issues
  • chore: Fix depcheck issues
  • chore(@mongodb-js/compass-connect): Replace react-ios-switch with leafygreen toggle
  • ci(github): Run e2e tests against packaged application in CI
  • test(@mongodb-js/compass-connect): Fix failing toggle tests
  • chore(compass-e2e-tests): Move the cheese around
  • chore(mongodb-e2e-test): Write spectron logs when running in CI
  • chore(compass-e2e-tests): Upload spectron logs in ci; Use debug instead of console log; Provide driver args to work around ci issues
  • ci(github): Provide e2e test vars for check-test workflow
  • fix: Revert changes to evergreen config and compass index.html
Comment by Githook User [ 19/Aug/21 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge remote-tracking branch 'origin/main' into compass-4992-smoke-test-suite

Conflicts:
package-lock.json
packages/compass-connect/package.json
packages/hadron-build/commands/release.js
Branch: compass-4992-smoke-test-suite
https://github.com/mongodb-js/compass/commit/584f1d7ac43607cdc94cf12defd0691c634ee1ea

Comment by Githook User [ 16/Aug/21 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge remote-tracking branch 'origin/main' into compass-4992-smoke-test-suite

Conflicts:
package-lock.json
packages/data-service/package.json
Branch: compass-4992-smoke-test-suite
https://github.com/mongodb-js/compass/commit/0c7730053918892bf9d0d39e88fa322cd4abfe84

Comment by Githook User [ 16/Aug/21 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge remote-tracking branch 'origin/main' into compass-4992-smoke-test-suite

Conflicts:
package-lock.json
Branch: compass-4992-smoke-test-suite
https://github.com/mongodb-js/compass/commit/79c57927e5c00cea1fd297a85ec3576a3998b600

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