|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
| 8 | + |
| 9 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 11 | + <test name="AdminCheckProductListPriceAttributesWithDifferentCurrencyTest" extends="AdminCheckProductListPriceAttributesTest"> |
| 12 | + <annotations> |
| 13 | + <stories value="Check price attributes values on Admin Product List when different currency is used for Default Website"/> |
| 14 | + <title value="Check price attributes values on Admin Product List."/> |
| 15 | + <description value="Login as admin, create simple product, add cost, special price. |
| 16 | + Change Price to Website Scope. Change Currency to Default Website scope. |
| 17 | + Go to Admin |
| 18 | + Product List page filter grid by created product, add mentioned columns to grid, check values."/> |
| 19 | + <group value="catalog"/> |
| 20 | + <severity value="MAJOR"/> |
| 21 | + <testCaseId value="AC-6078"/> |
| 22 | + <useCaseId value="ACP2E-1018"/> |
| 23 | + </annotations> |
| 24 | + <before> |
| 25 | + <!-- Configure Stores -> Configuration -> Catalog -> Catalog -> Price Scope = Website --> |
| 26 | + <magentoCLI command="config:set catalog/price/scope 1" stepKey="setPriceScopeToWebsite" after="loginToAdminPanel" /> |
| 27 | + <!-- Configure Stores -> Configuration -> General -> Currency Setup -> Currency Options -> Base Currency = Euro --> |
| 28 | + <magentoCLI command="config:set --scope website --scope-code base currency/options/base EUR" stepKey="setBaseCurrencyAsEuroToMainWebsite" after="setPriceScopeToWebsite" /> |
| 29 | + </before> |
| 30 | + <after> |
| 31 | + <!-- Configure Stores -> Configuration -> General -> Currency Setup -> Currency Options -> Base Currency = USD (as default value) --> |
| 32 | + <magentoCLI command="config:set --scope website --scope-code base currency/options/base USD" stepKey="setBaseCurrencyBackAsUSDToMainWebsite" after="deleteSimpleProduct" /> |
| 33 | + <!-- Configure Stores -> Configuration -> Catalog -> Catalog -> Price Scope = Global --> |
| 34 | + <magentoCLI command="config:set catalog/price/scope 0" stepKey="setPriceScopeToGlobal" after="setBaseCurrencyBackAsUSDToMainWebsite" /> |
| 35 | + </after> |
| 36 | + </test> |
| 37 | +</tests> |
0 commit comments