Reorder test in index and update readme
I added also missing for other pull requests that were merged already
This commit is contained in:
parent
57a798c0e9
commit
bfa9cc1788
|
@ -63,6 +63,9 @@ The functions to access the core tests are:
|
||||||
- `runCheckoutPageTest` - Shopper can complete checkout
|
- `runCheckoutPageTest` - Shopper can complete checkout
|
||||||
- `runMyAccountPageTest` - Shopper can access my account page
|
- `runMyAccountPageTest` - Shopper can access my account page
|
||||||
- `runSingleProductPageTest` - Shopper can view single product page
|
- `runSingleProductPageTest` - Shopper can view single product page
|
||||||
|
- `runMyAccountPayOrderTest` - Shopper can pay for his order in My Account
|
||||||
|
- `runCartApplyCouponsTest` - Shopper can apply coupons in the cart
|
||||||
|
- `runCheckoutApplyCouponsTest` - Shopper can apply coupons in the checkout
|
||||||
|
|
||||||
## Contributing a new test
|
## Contributing a new test
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,11 @@ const runInitialStoreSettingsTest = require( './activate-and-setup/setup.test' )
|
||||||
// Shopper tests
|
// Shopper tests
|
||||||
const runCartApplyCouponsTest = require( './shopper/front-end-cart-coupons.test');
|
const runCartApplyCouponsTest = require( './shopper/front-end-cart-coupons.test');
|
||||||
const runCartPageTest = require( './shopper/front-end-cart.test' );
|
const runCartPageTest = require( './shopper/front-end-cart.test' );
|
||||||
const runCheckoutApplyCouponsTest = require( './shopper/front-end-checkout-coupons.test');
|
|
||||||
const runCheckoutPageTest = require( './shopper/front-end-checkout.test' );
|
const runCheckoutPageTest = require( './shopper/front-end-checkout.test' );
|
||||||
const runMyAccountPayOrderTest = require( './shopper/front-end-my-account-pay-order.test' );
|
const runMyAccountPayOrderTest = require( './shopper/front-end-my-account-pay-order.test' );
|
||||||
const runMyAccountPageTest = require( './shopper/front-end-my-account.test' );
|
const runMyAccountPageTest = require( './shopper/front-end-my-account.test' );
|
||||||
const runSingleProductPageTest = require( './shopper/front-end-single-product.test' );
|
const runSingleProductPageTest = require( './shopper/front-end-single-product.test' );
|
||||||
|
const runCheckoutApplyCouponsTest = require( './shopper/front-end-checkout-coupons.test');
|
||||||
|
|
||||||
// Merchant tests
|
// Merchant tests
|
||||||
const runCreateCouponTest = require( './merchant/wp-admin-coupon-new.test' );
|
const runCreateCouponTest = require( './merchant/wp-admin-coupon-new.test' );
|
||||||
|
@ -38,11 +38,11 @@ const runSetupOnboardingTests = () => {
|
||||||
const runShopperTests = () => {
|
const runShopperTests = () => {
|
||||||
runCartApplyCouponsTest();
|
runCartApplyCouponsTest();
|
||||||
runCartPageTest();
|
runCartPageTest();
|
||||||
runCheckoutApplyCouponsTest();
|
|
||||||
runCheckoutPageTest();
|
runCheckoutPageTest();
|
||||||
runMyAccountPayOrderTest();
|
runMyAccountPayOrderTest();
|
||||||
runMyAccountPageTest();
|
runMyAccountPageTest();
|
||||||
runSingleProductPageTest();
|
runSingleProductPageTest();
|
||||||
|
runCheckoutApplyCouponsTest();
|
||||||
};
|
};
|
||||||
|
|
||||||
const runMerchantTests = () => {
|
const runMerchantTests = () => {
|
||||||
|
@ -66,7 +66,6 @@ module.exports = {
|
||||||
runSetupOnboardingTests,
|
runSetupOnboardingTests,
|
||||||
runCartApplyCouponsTest,
|
runCartApplyCouponsTest,
|
||||||
runCartPageTest,
|
runCartPageTest,
|
||||||
runCheckoutApplyCouponsTest,
|
|
||||||
runCheckoutPageTest,
|
runCheckoutPageTest,
|
||||||
runMyAccountPayOrderTest,
|
runMyAccountPayOrderTest,
|
||||||
runMyAccountPageTest,
|
runMyAccountPageTest,
|
||||||
|
@ -83,4 +82,5 @@ module.exports = {
|
||||||
runOrderRefundTest,
|
runOrderRefundTest,
|
||||||
runOrderApplyCouponTest,
|
runOrderApplyCouponTest,
|
||||||
runMerchantTests,
|
runMerchantTests,
|
||||||
|
runCheckoutApplyCouponsTest,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue