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

Write a full checkout flow integration test #5518

Closed
aldeed opened this issue Sep 4, 2019 · 1 comment
Closed

Write a full checkout flow integration test #5518

aldeed opened this issue Sep 4, 2019 · 1 comment
Assignees

Comments

@aldeed
Copy link
Contributor

aldeed commented Sep 4, 2019

Add a full checkout flow GraphQL integration test. It should create some initial catalog data, and then do all of the same GraphQL calls that the example storefront does, starting from add to cart, including each step of checkout, and ending with placeOrder.

This will help ensure that changes we make are not breaking the storefront checkout flow.


Tests cases needed

  • createCart (with items)
  • addCartItems (add more items)
  • reconcileCarts (login flow)
  • removeCartItems
  • setEmailOnAnonymousCart
  • setShippingAddressOnCart
  • updateCartItemsQuantity
  • updateFulfillmentOptionsForGroup
  • selectFulfillmentOptionForGroup
  • availablePaymentMethods
  • placeOrder
@aldeed aldeed added help wanted For issues that have a clear solution described and are not currently prioritized core team work testing labels Sep 4, 2019
@aldeed aldeed changed the title Write a full-flow integration test Write a full checkout flow integration test Sep 4, 2019
@janus-reith
Copy link
Collaborator

janus-reith commented Sep 5, 2019

I think it could he helpful here to have the full workflow in place to catch possible errors, like changing the shipping address / (mostly country) and adding another item after you entered the shipping address.

@mikemurray mikemurray self-assigned this Dec 19, 2019
@mikemurray mikemurray removed the help wanted For issues that have a clear solution described and are not currently prioritized core team work label Dec 20, 2019
@willopez willopez closed this as completed Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants