Skip to content

Commit 53bf4fa

Browse files
ACQE-9004: Admin can download file uploaded to product custom option
- Removed unnecessary wait conditions
1 parent f5d28e5 commit 53bf4fa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/code/Magento/Sales/Test/Mftf/Test/AdminVerifyFileUploadLinkInOrderForProductCustomOptionTest.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<testCaseId value="AC-4423"/>
1919
<group value="sales"/>
2020
<group value="catalog"/>
21-
<group value="custom_options"/>
2221
</annotations>
2322
<before>
2423
<!-- Step 1: Create simple product with file custom option via API -->
@@ -41,16 +40,13 @@
4140
<actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductPageOnStorefront">
4241
<argument name="productUrl" value="$createProduct.custom_attributes[url_key]$"/>
4342
</actionGroup>
44-
<waitForPageLoad stepKey="waitForProductPageLoad"/>
4543
<!-- Step 3: Upload any file and add product to cart -->
4644
<waitForElementVisible selector="{{StorefrontProductInfoMainSection.addLinkFileUploadFile(ProductOptionFile.title)}}" stepKey="waitForFileUploadField"/>
4745
<attachFile selector="{{StorefrontProductInfoMainSection.addLinkFileUploadFile(ProductOptionFile.title)}}" userInput="{{MagentoLogo.file}}" stepKey="attachFileToCustomOption"/>
4846
<waitForPageLoad stepKey="waitForFileUploaded"/>
4947
<actionGroup ref="StorefrontAddToTheCartActionGroup" stepKey="addProductToCart"/>
50-
<waitForPageLoad stepKey="waitForProductAddedToCart"/>
5148
<!-- Step 4: Open the cart -->
5249
<actionGroup ref="StorefrontOpenCartFromMinicartActionGroup" stepKey="openShoppingCart"/>
53-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
5450
<!-- Step 4 Expected Result: The cart displays the product and the custom option as a clickable filename -->
5551
<waitForElementVisible selector="{{CheckoutCartProductSection.ProductLinkByName($createProduct.name$)}}" stepKey="waitForProductInCart"/>
5652
<waitForText selector="{{CheckoutCartProductSection.ProductLinkByName($createProduct.name$)}}" userInput="$createProduct.name$" stepKey="waitForProductNameInCart"/>
@@ -64,10 +60,8 @@
6460
<argument name="customerVar" value="CustomerEntityOne"/>
6561
<argument name="customerAddressVar" value="CustomerAddressSimple"/>
6662
</actionGroup>
67-
<waitForPageLoad stepKey="waitForShippingMethodsLoad"/>
6863
<!-- Place order -->
6964
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="placeOrder"/>
70-
<waitForPageLoad stepKey="waitForOrderPlaced"/>
7165
<!-- Get order ID -->
7266
<grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber}}" stepKey="grabOrderId"/>
7367
<!-- Step 6: Open order from admin -->

0 commit comments

Comments
 (0)