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

[release test automation] Orders page #8216

Closed
filipefurtad0 opened this issue Sep 21, 2021 · 2 comments · Fixed by #8217 or #10344
Closed

[release test automation] Orders page #8216

filipefurtad0 opened this issue Sep 21, 2021 · 2 comments · Fixed by #8217 or #10344
Assignees

Comments

@filipefurtad0
Copy link
Contributor

filipefurtad0 commented Sep 21, 2021

What we should change and why (this is tech debt)

We need to check and update the test cases on /orders page. This should be covered by the file:

spec/system/admin/orders_spec.rb


As an administrator
    I want to manage orders
  with a complete order
    order cycles appear in descending order by close date on orders page
    filter by multiple order cycles
    filter by distributors
    filter by complete date
    select/unselect all orders
      by clicking on the checkbox in the table header
    with a capturable order
      capture payment
      ship order from the orders index page
  with incomplete order
    can edit order
  test the 'Only show the complete orders' checkbox
    display or not incomplete order
  save the filter params
    when reloading the page
    and clear filters

While we are at it, we should update it to system spec too -> done in #8217

Context

Release test automation and updating feature into system specs.

Impact and timeline

An up-to-date, resilient build.

@filipefurtad0
Copy link
Contributor Author

filipefurtad0 commented Dec 16, 2022

Missing items for coverage on this page:

  • pagination
  • ordering: distributor, completed at, number, state, payment state, shipment state, email, name, total
  • filters: status, email, invoice nr, first name, last name, shipping method

@filipefurtad0
Copy link
Contributor Author

Leaving this open and In Dev to add:

  • pagination tests
  • bulk cancelling orders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant