|
28 | 28 | <after>
|
29 | 29 | <!-- Navigate to catalog product index page -->
|
30 | 30 | <actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductIndexPage"/>
|
31 |
| - <!-- Clear all the search filter --> |
32 |
| - <conditionalClick selector="{{AdminProductGridFilterSection.clearAll}}" dependentSelector="{{AdminProductGridFilterSection.clearAll}}" visible="true" stepKey="clickClearAll"/> |
33 | 31 | <!-- Set product grid to default columns -->
|
34 | 32 | <actionGroup ref="ResetProductGridToDefaultViewActionGroup" stepKey="setProductGridToDefaultColumns"/>
|
35 | 33 | <!-- Open the column dropdown to reset the default columns from the catalog product grid -->
|
|
76 | 74 | <actionGroup ref="ResetAdminProductGridColumnsActionGroup" stepKey="resetAdminProductGridColumns"/>
|
77 | 75 | <actionGroup ref="ToggleAdminProductGridColumnsDropdownActionGroup" stepKey="closeColumnsDropdownAfterReset"/>
|
78 | 76 |
|
79 |
| - <!-- Check the special price attribute column is present or not --> |
80 |
| - <dontSeeElement selector="{{AdminProductGridSection.columnHeader('Special Price')}}" stepKey="dontSeeSpecialPriceColumn"/> |
81 | 77 | <!-- Open the column dropdown to add the special price from the catalog product grid -->
|
82 | 78 | <actionGroup ref="ToggleAdminProductGridColumnsDropdownActionGroup" stepKey="openColumnsDropdownSpecialPrice"/>
|
83 | 79 | <actionGroup ref="CheckAdminProductGridColumnOptionActionGroup" stepKey="checkSpecialPriceOption">
|
|
90 | 86 | <argument name="sku" value="{{BundleProduct.sku}}"/>
|
91 | 87 | </actionGroup>
|
92 | 88 |
|
93 |
| - <!-- Check the special price column are present in catalog product grid --> |
94 |
| - <seeElement selector="{{AdminProductGridSection.columnHeader('Special Price')}}" stepKey="seeSpecialPriceColumn"/> |
95 |
| - <!-- Grab the special price value from the catalog product grid --> |
96 |
| - <grabTextFrom selector="{{AdminProductGridSection.productGridCell('1', 'Special Price')}}" stepKey="getSpecialPrice"/> |
97 |
| - |
98 | 89 | <!-- Asserting with the special price value contains the percentage value -->
|
99 | 90 | <actionGroup ref="AdminAssertSpecialPriceAttributeValueOnProductGridPageActionGroup" stepKey="assertSpecialPricePercentageSymbol">
|
| 91 | + <argument name="specialPriceColumn" value="Special Price"/> |
100 | 92 | <argument name="expectedValue" value="90.00%"/>
|
101 |
| - <argument name="actualValue" value="$getSpecialPrice"/> |
102 | 93 | </actionGroup>
|
103 | 94 | </test>
|
104 | 95 | </tests>
|
0 commit comments