File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
app/code/Magento/ConfigurableProduct/Test/Mftf Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 17
17
</arguments >
18
18
19
19
<grabTextFrom selector =" {{StorefrontProductInfoMainSection.tierPriceExcludingPrice}}" stepKey =" tierPriceExcluding" />
20
- <assertEquals stepKey =" assertTierPriceTextOnProductPage" >
20
+ <assertStringContainsString stepKey =" assertTierPriceTextOnProductPage" >
21
21
<expectedResult type =" string" >{{excludingPrice}}</expectedResult >
22
22
<actualResult type =" variable" >tierPriceExcluding</actualResult >
23
- </assertEquals >
23
+ </assertStringContainsString >
24
24
</actionGroup >
25
25
</actionGroups >
Original file line number Diff line number Diff line change 111
111
<selectOption userInput =" $$createConfigProductAttributeOptionOne.option[store_labels][1][label]$$"
112
112
selector =" {{StorefrontProductInfoMainSection.productAttributeOptionsSelectButton}}"
113
113
stepKey =" selectOption" />
114
- <grabTextFrom selector =" {{StorefrontProductInfoMainSection.tierPriceText}}" stepKey =" tierPriceText" />
115
- <assertStringContainsString stepKey =" assertTierPriceTextOnProductPage" >
116
- <expectedResult type =" string" >Buy {{tierProductPrice.quantity}} for $97.43 each and save 27%</expectedResult >
117
- <actualResult type =" variable" >tierPriceText</actualResult >
118
- </assertStringContainsString >
119
114
120
- <!-- Assert tier price excluding price -->
115
+ <!-- Assert tier price excluding including price item -->
116
+ <actionGroup ref =" AssertStorefrontProductDetailPageTierPriceActionGroup" stepKey =" assertProductTierPriceExcludingIncludingTax" >
117
+ <argument name =" tierProductPriceDiscountQuantity" value =" 2" />
118
+ <argument name =" productPriceWithAppliedTierPriceDiscount" value =" 97.43 ${{tierProductPrice.price}}" />
119
+ <argument name =" productSavedPricePercent" value =" 27" />
120
+ </actionGroup >
121
121
<actionGroup ref =" StorefrontAssertExcludingTierPriceActionGroup" stepKey =" assertTierPriceExcludingPrice" >
122
122
<argument name =" excludingPrice" value =" ${{tierProductPrice.price}}" />
123
123
</actionGroup >
You can’t perform that action at this time.
0 commit comments