conda-incubator / conda-store

Data science environments, for collaboration. ✨
https://conda.store
BSD 3-Clause "New" or "Revised" License
142 stars 46 forks source link

Integration Test: Login and create environment #668

Closed dcmcand closed 6 months ago

dcmcand commented 9 months ago

Context

Part of #662

Integration test for the following user story:

User Story

Persona: I'm a software eng familiar with conda cli tools. Need: I want to create a new env via the conda-store-ui (on Nebari, e.g.). Steps:

  1. Log into conda-store
  2. click plus to start a new env in my user space (breakout workflow: group user space)
  3. create environment via ui widgets (breakout workflow: use yaml editor)
  4. Click "Create"
  5. I should be redirected back to the "non-edit" screen where it says its "Building"

Test

TODO: @dcmcand work out api calls and setup needed

Setup

1. 2.

API Calls

1. 2.

Value and/or benefit

This will ensure that new releases of conda-store will not break critical user journeys.

Anything else?

Note: This integration test only covers conda-store-server and this workflow should be tested at the api level. UI logic will be tested in the conda-store-ui repo.