woocommerce-android icon indicating copy to clipboard operation
woocommerce-android copied to clipboard

[UI Tests] - Update test assertions for create order test

Open jostnes opened this issue 3 years ago • 3 comments
trafficstars

Part of: https://github.com/woocommerce/woocommerce-android/issues/6186

Description

This PR updates the current "Create Orders" test to include more assertions. We will now assert status, shipping, fees and customer details. Customer note will be added in a follow up PR.

Testing instructions

Test should pass locally and in CI

Images/gif

  • [x] I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

jostnes avatar Sep 22 '22 06:09 jostnes

Warnings
:warning: PR is not assigned to a milestone.
:warning: PR has more than 300 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by :no_entry_sign: dangerJS

peril-woocommerce[bot] avatar Sep 22 '22 06:09 peril-woocommerce[bot]

Most line changes are from: WooCommerce/src/androidTest/assets/mocks/mappings/jetpack-blogs/wc/data/countries.json mock file which is needed to populate the Country drop-down on the customer details screen

jostnes avatar Sep 22 '22 06:09 jostnes

You can test the changes on this Pull Request by downloading an installable build, or scanning this QR code:

wpmobilebot avatar Sep 22 '22 06:09 wpmobilebot