File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
app/code/Magento/AwsS3/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +31
-0
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 =" AdminImportSimpleProductImageLongNameTest" >
12+
13+ <before >
14+ <!-- Copy Images to Import Directory for Product Images -->
15+ <helper class =" Magento\AwsS3\Test\Mftf\Helper\FileAssertions" method =" createDirectory" stepKey =" createDirectoryForImportImages" >
16+ <argument name =" path" >var/import/images/test_image_long_name</argument >
17+ </helper >
18+ <helper class =" Magento\AwsS3\Test\Mftf\Helper\FileAssertions" method =" copyFromLocal" stepKey =" copyProductBaseImage" >
19+ <argument name =" source" >dev/tests/acceptance/tests/_data/{{placeholderBaseImageLongName.file}}</argument >
20+ <argument name =" destination" >var/import/images/test_image_long_name/{{placeholderBaseImageLongName.file}}</argument >
21+ </helper >
22+ </before >
23+
24+ <after >
25+ <helper class =" Magento\AwsS3\Test\Mftf\Helper\FileAssertions" method =" deleteDirectory" stepKey =" deleteProductImageDirectory" >
26+ <argument name =" path" >var/import/images/test_image_long_name</argument >
27+ </helper >
28+ </after >
29+
30+ </test >
31+ </tests >
You can’t perform that action at this time.
0 commit comments