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 for canceling a build #812

Merged

Conversation

peytondmurray
Copy link
Contributor

Fixes #674.

Description

This PR adds a user journey test for canceling a build.

This pull request:

  • Adds a new user journey test
  • Refactors some of api_utils.py to use a new wait_for_condition function to poll the conda-store-server

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_cancel_build

Copy link

netlify bot commented Apr 15, 2024

Deploy Preview for conda-store canceled.

Name Link
🔨 Latest commit e722f70
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/661d9777c6dd0d0008d8f94a

Copy link

netlify bot commented Apr 15, 2024

Deploy Preview for conda-store canceled.

Name Link
🔨 Latest commit 89b3bd8
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/661d9783abf1ca0008b6a27f

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 71a5632 into conda-incubator:main Apr 22, 2024
24 of 25 checks passed
@peytondmurray peytondmurray deleted the test-cancel-build-674 branch April 22, 2024 20:51
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: Cancel a build
2 participants