Skip to content

Commit 39c269b

Browse files
committed
B2B-1704: Add MFTF test for MC-38621
- Testing chrome performance logging
1 parent b2da221 commit 39c269b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/code/Magento/TaxImportExport/Test/Mftf/Test/AdminExportTaxRatesTest.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@
4444
<!-- Export Tax Rates & Validate Export -->
4545
<actionGroup ref="AdminNavigateImportExportTaxRatesActionGroup" stepKey="navigateToImportExportTaxRatesPage"/>
4646
<actionGroup ref="AdminExportTaxRatesActionGroup" stepKey="exportTaxRates"/>
47+
<executeJS function="return window.performance.getEntriesByName('mousedown')[0].target.baseURI" stepKey="exportURI"/>
48+
49+
<comment userInput="{$exportURI}" stepKey="commentTest"/>
50+
<!-- <assertEquals stepKey="test">-->
51+
<!-- <actualResult type="variable">exportURI</actualResult>-->
52+
<!-- <expectedResult type="string">http://git24develop3.test/admin/tax/rate/importExport/</expectedResult>-->
53+
<!-- </assertEquals>-->
54+
55+
<!-- todo: curl command to go to URI to download file -->
56+
4757
<assertFileExists stepKey="assertExportFileExists">
4858
<actualResult type="string">/home/centos/Downloads/tax_rates.csv</actualResult>
4959
</assertFileExists>

0 commit comments

Comments
 (0)