Closed
Description
ActionGroup parameters should be able to contain a defaultValue that is filled by another argument. An example scenario:
<actionGroup name="CheckProductPricingOnStorefrontOrderReview">
<arguments>
<argument name="product"/>
<argument type="string" name="priceInclTax"/>
<argument type="string" name="priceExclTax"/>
<argument type="string" name="subtotalExclTax" defaultValue="{{priceExclTax}}"/>
<argument type="string" name="subtotalInclTax" defaultValue="{{priceInclTax}}"/>
</arguments>
<see stepKey="seeProductPriceExclTax" userInput="{{priceExclTax}}" selector="{{StorefrontCustomerOrderViewSection.productPriceExclTaxByName(product.name)}}"/>
<see stepKey="seeProductPriceInclTax" userInput="{{priceInclTax}}" selector="{{StorefrontCustomerOrderViewSection.productPriceInclTaxByName(product.name)}}"/>
<see stepKey="seeProductSubtotalExclTax" userInput="{{subtotalExclTax}}" selector="{{StorefrontCustomerOrderViewSection.productSubtotalExclTaxByName(product.name)}}"/>
<see stepKey="seeProductSubtotalInclTax" userInput="{{subtotalInclTax}}" selector="{{StorefrontCustomerOrderViewSection.productSubtotalInclTaxByName(product.name)}}"/>
</actionGroup>