Skip to content

[Issue] [MFTF] Cancel created orders after checks on frontend #28324

Closed
@ghost

Description

This issue is automatically created based on existing pull request: #27698: [MFTF] Cancel created orders after checks on frontend


Description

According to the isolation guidelines of Magento Functional Test Framework, all data created during tests have to be deleted. As we can't delete created orders - there's no way to delete an order neither via backend or webapi - I suppose it'd be an good idea to cancel them.

https://devdocs.magento.com/mftf/docs/guides/test-isolation.html

Updated CheckCheckoutSuccessPageAsRegisterCustomerTest and CheckCheckoutSuccessPageAsGuestTest after blocks, to cancel all orders which have been created in these tests.

New Action Groups

  1. AdminGridBulkActionGroup - massive action for all rows on Admin Grid page
  2. AdminGridColumnShowActionGroup - shows new column on Admin Grid page

Questions or comments

I spent so much time, trying to cancel orders by ids via webapi - but still don't know how to do that in MFTF. If someone has any thoughts or ideas - they'd be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions