File tree Expand file tree Collapse file tree 3 files changed +37
-3
lines changed
TaxImportExport/Test/Mftf Expand file tree Collapse file tree 3 files changed +37
-3
lines changed Original file line number Diff line number Diff line change
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 =" AdminAwsS3ImportTaxRatesTest" extends =" AdminImportTaxRatesTest" >
12
+ <annotations >
13
+ <features value =" AwsS3" />
14
+ <stories value =" Import Tax" />
15
+ <title value =" S3 - Import and Update Tax Rates" />
16
+ <description value =" Imports tax rates to create new tax rates and update existing tax rates. Verifies
17
+ results on tax rates grid page. Sets S3 for file system." />
18
+ <severity value =" MAJOR" />
19
+ <testCaseId value =" MC-38949" />
20
+ <group value =" importExport" />
21
+ <group value =" tax" />
22
+ </annotations >
23
+
24
+ <before >
25
+ <!-- Enable AWS S3 Remote Storage -->
26
+ <magentoCLI command =" setup:config:set {{RemoteStorageAwsS3ConfigData.enable_options}}" stepKey =" enableRemoteStorage" before =" loginAsAdmin" />
27
+ </before >
28
+
29
+ <after >
30
+ <!-- Disable AWS S3 Remote Storage -->
31
+ <magentoCLI command =" setup:config:set {{RemoteStorageAwsS3ConfigData.disable_options}}" stepKey =" disableRemoteStorage" after =" logoutFromAdmin" />
32
+ </after >
33
+ </test >
34
+ </tests >
Original file line number Diff line number Diff line change 12
12
<annotations >
13
13
<description >Clicks the 'Export Tax Rates' button.</description >
14
14
</annotations >
15
+ <waitForElementVisible selector =" {{AdminImportExportTaxRatesSection.exportTaxRatesButton}}" stepKey =" waitForExportTaxRates" />
16
+ <click selector =" {{AdminImportExportTaxRatesSection.exportTaxRatesButton}}" stepKey =" clickExportTaxRates" />
17
+ <waitForPageLoad stepKey =" waitForImport" />
15
18
</actionGroup >
16
19
</actionGroups >
Original file line number Diff line number Diff line change 41
41
<argument name =" file" value =" {{import_tax_rates.filename}}" />
42
42
</actionGroup >
43
43
44
-
45
- <pause stepKey =" pause" />
46
-
47
44
<!-- Verify Imported Tax Rates -->
48
45
<actionGroup ref =" AdminTaxRateGridOpenPageActionGroup" stepKey =" navigateToTaxRatesPage" />
49
46
<actionGroup ref =" AdminFilterLegacyGridActionGroup" stepKey =" filterGridCA" >
You can’t perform that action at this time.
0 commit comments