|
38 | 38 | <argument name="customStore" value="NewStoreViewData"/> |
39 | 39 | </actionGroup> |
40 | 40 | <amOnPage url="{{ConfigCurrencySetupPage.url}}" stepKey="navigateToConfigCurrencySetupPage1"/> |
41 | | - <click selector="{{CurrencySetupSection.currencyOptions}}" stepKey="openCurrencyOptions"/> |
| 41 | + <waitForElementClickable selector="{{CurrencySetupSection.currencyOptions}}" stepKey="waitForCurrencyOptions"/> |
| 42 | + <conditionalClick selector="{{CurrencySetupSection.currencyOptions}}" dependentSelector="{{CurrencySetupSection.CheckCurrencyOptionsIfTabExpand}}" stepKey="openCurrencyOptions" visible="true"/> |
| 43 | + <waitForElementVisible selector="{{CurrencySetupSection.baseCurrencyUseDefault}}" stepKey="waitForUseDefaultCheckbox"/> |
| 44 | + <uncheckOption selector="{{CurrencySetupSection.baseCurrencyUseDefault}}" stepKey="uncheckUseDefaultOption"/> |
42 | 45 | <selectOption selector="{{CurrencySetupSection.baseCurrency}}" userInput="Swedish Krona" stepKey="setBaseCurrencyField"/> |
43 | 46 | <selectOption selector="{{CurrencySetupSection.allowCurrencies}}" parameterArray="['Euro', 'US Dollar']" stepKey="selectCurrencies"/> |
44 | 47 | <click stepKey="saveConfigs" selector="{{AdminConfigSection.saveButton}}"/> |
|
63 | 66 | <waitForElementVisible selector="{{AdminConfirmationModalSection.ok}}" stepKey="waitingForInformationModal"/> |
64 | 67 | <click selector="{{AdminConfirmationModalSection.ok}}" stepKey="confirmStoreSwitch"/> |
65 | 68 | <waitForPageLoad stepKey="waitForPageLoad8"/> |
66 | | - |
67 | 69 | <actionGroup ref="AdminOpenCurrencyRatesPageActionGroup" stepKey="gotToCurrencyRatesPage"/> |
68 | 70 | <actionGroup ref="AdminSetCurrencyRatesActionGroup" stepKey="revertCurrencyRates1"> |
69 | 71 | <argument name="firstCurrency" value="EUR"/> |
|
176 | 178 | </actionGroup> |
177 | 179 | <actionGroup ref="AssertStorefrontProductDetailPageTierPriceWithCurrencyActionGroup" stepKey="assertProductTierPriceText"> |
178 | 180 | <argument name="tierProductPriceDiscountQuantity" value="10"/> |
179 | | - <argument name="productPriceWithAppliedTierPriceDiscount" value="0.84"/> |
180 | | - <argument name="productSavedPricePercent" value="92"/> |
| 181 | + <argument name="productPriceWithAppliedTierPriceDiscount" value="9.00"/> |
| 182 | + <argument name="productSavedPricePercent" value="10"/> |
181 | 183 | <argument name="index" value="1"/> |
182 | 184 | </actionGroup> |
183 | 185 | <actionGroup ref="AssertStorefrontProductDetailPageTierPriceWithCurrencyActionGroup" stepKey="assertProductTierPriceText2"> |
184 | 186 | <argument name="tierProductPriceDiscountQuantity" value="20"/> |
185 | | - <argument name="productPriceWithAppliedTierPriceDiscount" value="0.74"/> |
186 | | - <argument name="productSavedPricePercent" value="93"/> |
| 187 | + <argument name="productPriceWithAppliedTierPriceDiscount" value="8.00"/> |
| 188 | + <argument name="productSavedPricePercent" value="20"/> |
187 | 189 | <argument name="index" value="2"/> |
188 | 190 | </actionGroup> |
189 | 191 | <actionGroup ref="AssertStorefrontProductDetailPageTierPriceWithCurrencyActionGroup" stepKey="assertProductTierPriceText3"> |
190 | 192 | <argument name="tierProductPriceDiscountQuantity" value="30"/> |
191 | | - <argument name="productPriceWithAppliedTierPriceDiscount" value="0.65"/> |
192 | | - <argument name="productSavedPricePercent" value="94"/> |
| 193 | + <argument name="productPriceWithAppliedTierPriceDiscount" value="7.00"/> |
| 194 | + <argument name="productSavedPricePercent" value="30"/> |
193 | 195 | <argument name="index" value="3"/> |
194 | 196 | </actionGroup> |
195 | 197 | </test> |
|
0 commit comments