module:WPAdminWCSettingsCheckout

module:WPAdminWCSettingsCheckout

The admin Checkout: Checkout Options screen

Constructor

new module:WPAdminWCSettingsCheckout(driver, args)

Parameters:
Name Type Description
driver WebDriver

Instance of WebDriver.

args object

Configuration arguments.

Source:

Extends

  • WPAdminWCSettings

Methods

checkCalculateDiscountsSequentially() → {Promise}

Check the "Calculate coupon discounts sequentially" checkbox.

Source:
Returns:

Promise that evaluates to true if box is/gets checked successfully, false otherwise.

Type
Promise

checkEnableCoupons() → {Promise}

Check the "Enable the use of coupons" checkbox.

Source:
Returns:

Promise that evaluates to true if box is/gets checked successfully, false otherwise.

Type
Promise

uncheckCalculateDiscountsSequentially() → {Promise}

Uncheck the "Calculate coupon discounts sequentially" checkbox.

Source:
Returns:

Promise that evaluates to true if box is/gets unchecked successfully, false otherwise.

Type
Promise

uncheckEnableCoupons() → {Promise}

Uncheck the "Enable the use of coupons" checkbox.

Source:
Returns:

Promise that evaluates to true if box is/gets unchecked successfully, false otherwise.

Type
Promise