Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user journey test #760

Merged
merged 12 commits into from
Feb 22, 2024
Merged

Add user journey test #760

merged 12 commits into from
Feb 22, 2024

Conversation

dcmcand
Copy link
Contributor

@dcmcand dcmcand commented Feb 1, 2024

Fixes #668
Fixes #662

Description

Adds an initial user journey test. This test follows a normal user workflow (using only api calls) to ensure that user workflows are not broken. It also begins to build up a library of actions that can be used to compose future user journey tests.

This test has been tested locally, in CI and against https://nebari.quansight.dev and it worked in all cases.

Pull request checklist

  • Did you test this change locally?
  • Did you update the documentation (if required)?
  • Did you add/update relevant tests for this change (if required)?

Additional information

How to test

  1. start conda store locally docker compose up
  2. in another tab navigate to the conda-store-server folder cd conda-store-server
  3. run the test pytest -m user_journey
  4. test should pass

Copy link

netlify bot commented Feb 1, 2024

Deploy Preview for kaleidoscopic-dango-0cf31d ready!

Name Link
🔨 Latest commit ea00d0a
🔍 Latest deploy log https://app.netlify.com/sites/kaleidoscopic-dango-0cf31d/deploys/65d6b62a57b605000800915c
😎 Deploy Preview https://deploy-preview-760--kaleidoscopic-dango-0cf31d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@nkaretnikov nkaretnikov left a comment

Choose a reason for hiding this comment

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

@dcmcand Thanks for adding this! I think this PR needs some changes, I've left some comments for your consideration.

conda-store-server/tests/user_journeys/README.md Outdated Show resolved Hide resolved
conda-store-server/tests/user_journeys/README.md Outdated Show resolved Hide resolved
conda-store-server/tests/user_journeys/README.md Outdated Show resolved Hide resolved
conda-store-server/tests/user_journeys/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@nkaretnikov nkaretnikov left a comment

Choose a reason for hiding this comment

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

@dcmcand LGTM. I've left some comments, but those are non-blockers. Up to you whether to fix those before merging.

conda-store-server/tests/user_journeys/README.md Outdated Show resolved Hide resolved
conda-store-server/tests/user_journeys/README.md Outdated Show resolved Hide resolved
dcmcand and others added 3 commits February 21, 2024 21:47
Co-authored-by: Nikita Karetnikov <nkaretnikov@quansight.com>
Co-authored-by: Nikita Karetnikov <nkaretnikov@quansight.com>
@dcmcand dcmcand merged commit 2b77071 into main Feb 22, 2024
5 of 6 checks passed
@dcmcand dcmcand deleted the add-user-journey-test branch February 22, 2024 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 💪🏾
Development

Successfully merging this pull request may close these issues.

Integration Test: Login and create environment META - testing improvements
3 participants