Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
-
- <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
- <actionGroup name="SetDefaultShippingTaxClassActionGroup">
- <annotations>
- <description>Goes to the 'Configuration' page via the Admin Side Menu. Sets the 'Tax Class for Shipping' to the System Default. Clicks on Save. Validates that the Success Message is present and correct.</description>
- </annotations>
-
- <!--Select Configuration menu from Store-->
- <click selector="{{AdminMenuSection.stores}}" stepKey="clickOnSTORES"/>
- <waitForPageLoad stepKey="waitForConfiguration"/>
- <click selector="{{AdminMenuSection.configuration}}" stepKey="clickOnConfigurations"/>
- <waitForPageLoad stepKey="waitForSales"/>
-
- <!--Double click the same to fix flaky issue with redirection to Dashboard-->
- <click selector="{{AdminMenuSection.stores}}" stepKey="clickOnSTORES1"/>
- <waitForPageLoad stepKey="waitForConfiguration1"/>
- <click selector="{{AdminMenuSection.configuration}}" stepKey="clickOnConfigurations1"/>
- <waitForPageLoad stepKey="waitForSales1"/>
-
- <!--Change default tax class for Shipping on Taxable Goods-->
- <click selector="{{ConfigurationListSection.sales}}" stepKey="clickOnSales"/>
- <waitForPageLoad stepKey="waitForPaymentMethods"/>
- <click selector="{{AdminConfigureTaxSection.salesTax}}" stepKey="clickOnTax"/>
- <waitForPageLoad stepKey="waitForTax"/>
- <seeElement selector="{{AdminConfigureTaxSection.taxClasses}}" stepKey="taxClassSectionC"/>
- <click selector="{{AdminConfigureTaxSection.taxShippingClassSystem}}" stepKey="checkSystemDefaultValue"/>
- <click selector="{{AdminConfigureTaxSection.taxClasses}}" stepKey="closeTaxClassSection"/>
-
- <!-- Save the settings -->
- <scrollToTopOfPage stepKey="scrollToTop"/>
- <click stepKey="saveTaxOptions" selector="{{AdminCategoryMainActionsSection.SaveButton}}"/>
- <waitForPageLoad stepKey="waitForTaxSaved"/>
- <see stepKey="seeSuccess" selector="{{AdminCategoryMessagesSection.SuccessMessage}}" userInput="You saved the configuration."/>
- </actionGroup>
- </actionGroups>
|