File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,16 @@ The following example shows the usage of `grabValueFrom` in testing, where the r
8585<fillField selector =" .functionalTestSelector" userInput =" {$grabStepKey}" stepKey =" fillFieldKey1" />
8686```
8787
88+ The following is an example of the ` Magento/Catalog/Test/Mftf/ActionGroup/AssertDiscountsPercentageOfProductsActionGroup.xml ` test:
89+
90+ ``` xml
91+ <grabValueFrom selector =" {{AdminProductFormAdvancedPricingSection.productTierPricePercentageValuePriceInput('0')}}" stepKey =" grabProductTierPriceInput" />
92+ <assertEquals stepKey =" assertProductTierPriceInput" >
93+ <expectedResult type =" string" >{{amount}}</expectedResult >
94+ <actualResult type =" string" >$grabProductTierPriceInput</actualResult >
95+ </assertEquals >
96+ ```
97+
8898## Hard-coded data input
8999
90100The data to operate against can be included as literals in a test. Hard-coded data input can be useful in assertions.
You can’t perform that action at this time.
0 commit comments