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 to mark build as active #804

Merged

Conversation

peytondmurray
Copy link
Contributor

Fixes #671.

Description

This PR adds a user journey test which checks that an admin can activate an old build for a given environment.

This pull request:

  • Adds a user journey test
  • Adds a new test environment needed for the test: simple_environment2.yaml

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)?

How to test

Run the conda-store server:

docker compose up

Then run the test:

cd conda-store-server
pytest tests/user_journeys/test_user_journeys.py::test_admin_set_active_build

Copy link

netlify bot commented Apr 2, 2024

Deploy Preview for conda-store canceled.

Name Link
🔨 Latest commit b7c6d8d
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/660ee2718aa6680008c836c1

@peytondmurray peytondmurray force-pushed the test-mark-build-active-671 branch from 9f7b7e0 to b7c6d8d Compare April 4, 2024 17:25
Copy link
Contributor

@dcmcand dcmcand left a comment

Choose a reason for hiding this comment

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

🚀

@peytondmurray peytondmurray merged commit fbade1c into conda-incubator:main Apr 4, 2024
25 checks passed
@peytondmurray peytondmurray deleted the test-mark-build-active-671 branch April 4, 2024 23:14
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: Mark build as active
2 participants