Skip to content

Commit 15269d9

Browse files
authored
Merge pull request #5284 from magento-pangolin/MQE-1987
[Pangolins] MFTF 2.6.0 version bump
2 parents 03c84ec + 27d4737 commit 15269d9

File tree

5 files changed

+232
-80
lines changed

5 files changed

+232
-80
lines changed

app/code/Magento/Paypal/Test/Mftf/ActionGroup/StorefrontPayOrderOnPayPalCheckoutActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<argument name="productName" type="string"/>
1717
</arguments>
1818
<click selector="{{PayPalPaymentSection.cartIcon}}" stepKey="openCart"/>
19+
<waitForPageLoad stepKey="waitForCartLoad"/>
1920
<seeElement selector="{{PayPalPaymentSection.itemName(productName)}}" stepKey="seeProductName"/>
2021
<click selector="{{PayPalPaymentSection.PayPalSubmitBtn}}" stepKey="clickPayPalSubmitBtn"/>
2122
<switchToPreviousTab stepKey="switchToPreviousTab"/>

app/code/Magento/Paypal/Test/Mftf/Section/PayPalExpressCheckoutConfigSection.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
<element name="email" type="input" selector="//input[contains(@name, 'email') and not(contains(@style, 'display:none'))]"/>
5858
<element name="password" type="input" selector="//input[contains(@name, 'password') and not(contains(@style, 'display:none'))]"/>
5959
<element name="loginBtn" type="input" selector="button#btnLogin"/>
60-
<element name="reviewUserInfo" type="text" selector="#reviewUserInfo"/>
61-
<element name="cartIcon" type="text" selector="#transactionCart"/>
62-
<element name="itemName" type="text" selector="//span[@title='{{productName}}']" parameterized="true"/>
63-
<element name="PayPalSubmitBtn" type="text" selector="//input[@type='submit']"/>
60+
<element name="reviewUserInfo" type="text" selector="[data-testid=personalized-banner-content]"/>
61+
<element name="cartIcon" type="text" selector="[data-testid='header-show-cart-dropdown-btn']"/>
62+
<element name="itemName" type="text" selector="//p[contains(@class,'CartDropdown_line') and text()='{{productName}}']" parameterized="true"/>
63+
<element name="PayPalSubmitBtn" type="text" selector="#payment-submit-btn"/>
6464
<element name="nextButton" type="button" selector="#btnNext"/>
6565
<element name="continueButton" type="button" selector=".continueButton"/>
6666
</section>

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontPaypalSmartButtonInCheckoutPageTest.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
<description value="Users are able to place order using Paypal Smart Button"/>
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="MC-13690"/>
19-
<skip>
20-
<issueId value="DEVOPS-3311"/>
21-
</skip>
2219
<group value="paypal"/>
2320
</annotations>
2421
<before>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"friendsofphp/php-cs-fixer": "~2.14.0",
8989
"lusitanian/oauth": "~0.8.10",
9090
"magento/magento-coding-standard": "*",
91-
"magento/magento2-functional-testing-framework": "2.5.4",
91+
"magento/magento2-functional-testing-framework": "2.6.1",
9292
"pdepend/pdepend": "2.5.2",
9393
"phpcompatibility/php-compatibility": "^9.3",
9494
"phpmd/phpmd": "@stable",

0 commit comments

Comments
 (0)