Introduced in Feature Pack 1

Store cleanup

Clean up the store between test cases to prevent a single test failure from cascading to other tests. Doing so increases test reliability.

For example, a cleanup script might perform the following actions:
  • Reset the change flow options back to predefined default values
  • Reset the store language to a default value
  • Reset the store currency to a default value
  • Empty the shopping cart
  • Empty the wish list

This way, if a test case fails and leaves the store in the middle of a transaction, the next test to run will still start from a known state.