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

actions for new dataset creation flow & E2E tests #603

Open
b5 opened this issue Sep 28, 2020 · 0 comments
Open

actions for new dataset creation flow & E2E tests #603

b5 opened this issue Sep 28, 2020 · 0 comments
Labels
actions react actions test

Comments

@b5
Copy link
Member

b5 commented Sep 28, 2020

requires #601, #602. Once those are landed, we should have an action that:

  • accepts a Dataset argument
  • constructs a "form-file" POST request to the backend with the contents of the dataset data structure
  • does the POST
  • redirects to the new dataset on success

This issue expects an E2E test for the flow, specifically a new test that takes the following steps:

  • navigates to the collection home
  • clicks new dataset
  • picks a name & hits create
  • tries to click commit, sees an error
  • adds meta
  • stages a body file
  • creates a readme
  • clicks structure tab
  • clicks submit
  • waits for navigation to end on the expected dataset name
@b5 b5 added test actions react actions labels Sep 28, 2020
@b5 b5 changed the title actions for creating a new dataset & E2E tests actions for new dataset creation flow & E2E tests Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actions react actions test
Projects
None yet
Development

No branches or pull requests

1 participant