Skip to content

Commit a18c914

Browse files
authored
Merge pull request #5513 from magento-tsg/2.4-develop-pr24
[TSG] TESTs Fixes for 2.4 (pr24) (2.4-develop)
2 parents 176ba2b + fe28e1b commit a18c914

File tree

8 files changed

+644
-70
lines changed

8 files changed

+644
-70
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd">
11+
<entity name="Enable3DSecureBraintree">
12+
<data key="path">payment/braintree/verify_3dsecure</data>
13+
<data key="value">1</data>
14+
</entity>
15+
<entity name="Disable3DSecureBraintree">
16+
<data key="path">payment/braintree/verify_3dsecure</data>
17+
<data key="value">0</data>
18+
</entity>
19+
<entity name="DisableVaultBraintree">
20+
<data key="path">payment/braintree_cc_vault/active</data>
21+
<data key="value">0</data>
22+
</entity>
23+
</entities>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10+
<actionGroup name="AssertStorefrontProductImageAppearsOnProductPagePreviewActionGroup">
11+
<annotations>
12+
<description>Validate that the Product Image is present on preview and correct on frontend product page.</description>
13+
</annotations>
14+
<arguments>
15+
<argument name="productImage" type="string" defaultValue="{{MagentoLogo.file}}"/>
16+
</arguments>
17+
18+
<waitForElementNotVisible selector="{{StorefrontProductMediaSection.gallerySpinner}}" stepKey="waitGallerySpinnerDisappear"/>
19+
<seeElement selector="{{StorefrontProductMediaSection.gallery}}" stepKey="seeProductGallery"/>
20+
<seeElement selector="{{StorefrontProductMediaSection.productImageActive(productImage)}}" stepKey="seeCorrectProductImage"/>
21+
</actionGroup>
22+
</actionGroups>

app/code/Magento/Checkout/Test/Mftf/ActionGroup/PlaceOrderWithLoggedUserActionGroup.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<argument name="shippingMethod" defaultValue="" type="string"/>
1818
</arguments>
1919

20+
<waitForLoadingMaskToDisappear stepKey="waitForCartTotalsLoaded"/>
21+
<waitForElementVisible selector="{{CheckoutCartSummarySection.orderTotal}}" stepKey="waitForCartGrandTotalVisible"/>
2022
<waitForElementVisible selector="{{CheckoutCartSummarySection.proceedToCheckout}}" stepKey="waitProceedToCheckout"/>
2123
<click selector="{{CheckoutCartSummarySection.proceedToCheckout}}" stepKey="clickProceedToCheckout"/>
2224
<click selector="{{CheckoutShippingMethodsSection.checkShippingMethodByName('shippingMethod')}}" stepKey="selectShippingMethod"/>
Lines changed: 66 additions & 70 deletions
Large diffs are not rendered by default.

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontGalleryConfigurableProductWithVisualSwatchAttributePrependMediaTest.xml

Lines changed: 290 additions & 0 deletions
Large diffs are not rendered by default.

app/code/Magento/InstantPurchase/Test/Mftf/Test/StorefrontInstantPurchaseFunctionalityNegativeScenarioTest.xml

Lines changed: 228 additions & 0 deletions
Large diffs are not rendered by default.

app/code/Magento/ProductVideo/Test/Mftf/Data/ProductVideoData.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,9 @@
1313
<data key="videoTitle">Arctic Monkeys - Do I Wanna Know? (Official Video)</data>
1414
<data key="videoShortTitle">Arctic Monkeys</data>
1515
</entity>
16+
<entity name="VimeoProductVideo" type="product_video">
17+
<data key="videoUrl">https://vimeo.com/76979871</data>
18+
<data key="videoTitle">The New Vimeo Player (You Know, For Videos)</data>
19+
<data key="videoShortTitle">The New Vimeo Player</data>
20+
</entity>
1621
</entities>

app/code/Magento/Swatches/Test/Mftf/Data/SwatchAttributeOptionData.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,12 @@
2424
<requiredEntity type="StoreLabel">Option2Store0</requiredEntity>
2525
<requiredEntity type="StoreLabel">Option2Store1</requiredEntity>
2626
</entity>
27+
<entity name="SwatchProductAttributeOption3" type="ProductSwatchAttributeOption">
28+
<var key="attribute_code" entityKey="attribute_code" entityType="ProductAttribute"/>
29+
<data key="label" unique="suffix">swatch-option3-</data>
30+
<data key="is_default">true</data>
31+
<data key="sort_order">2</data>
32+
<requiredEntity type="StoreLabel">Option3Store0</requiredEntity>
33+
<requiredEntity type="StoreLabel">Option3Store1</requiredEntity>
34+
</entity>
2735
</entities>

0 commit comments

Comments
 (0)