Skip to content

Commit 659e3bb

Browse files
committed
Changed selectors on tests related PR
1 parent 86ed309 commit 659e3bb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontCustomerCheckoutDisabledProductAndCouponTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</actionGroup>
8686

8787
<!-- Check cart -->
88-
<click selector="{{StorefrontMinicartSection.show}}" stepKey="clickMiniCart2"/>
88+
<click selector="{{StorefrontMinicartSection.showCart}}" stepKey="clickMiniCart2"/>
8989
<dontSeeElement selector="{{StorefrontMinicartSection.quantity}}" stepKey="dontSeeCartItem"/>
9090
</test>
9191
</tests>

app/code/Magento/Quote/Test/Mftf/Test/StorefrontGuestCheckoutDisabledProductTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
<wait time="60" stepKey="waitForCartToBeUpdated"/>
126126
<reloadPage stepKey="reloadPage"/>
127127
<waitForPageLoad stepKey="waitForCheckoutPageReload"/>
128-
<click selector="{{StorefrontMinicartSection.show}}" stepKey="clickMiniCart"/>
128+
<click selector="{{StorefrontMinicartSection.showCart}}" stepKey="clickMiniCart"/>
129129
<dontSeeElement selector="{{StorefrontMinicartSection.quantity}}" stepKey="dontSeeCartItem"/>
130130
<!-- Add simple product to shopping cart -->
131131
<amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct2.name$$)}}" stepKey="amOnSimpleProductPage2"/>
@@ -153,7 +153,7 @@
153153
<wait time="60" stepKey="waitForCartToBeUpdated2"/>
154154
<reloadPage stepKey="reloadPage2"/>
155155
<waitForPageLoad stepKey="waitForCheckoutPageReload2"/>
156-
<click selector="{{StorefrontMinicartSection.show}}" stepKey="clickMiniCart2"/>
156+
<click selector="{{StorefrontMinicartSection.showCart}}" stepKey="clickMiniCart2"/>
157157
<dontSeeElement selector="{{StorefrontMinicartSection.quantity}}" stepKey="dontSeeCartItem2"/>
158158
</test>
159159
</tests>

app/code/Magento/Translation/Test/Mftf/Test/AdminInlineTranslationOnCheckoutTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<!-- 3. Go to storefront and click on cart button on the top -->
7373
<reloadPage stepKey="reloadPage"/>
7474
<waitForPageLoad stepKey="waitForReload"/>
75-
<click selector="{{StorefrontMinicartSection.show}}" stepKey="showMiniCart"/>
75+
<click selector="{{StorefrontMinicartSection.showCart}}" stepKey="showMiniCart"/>
7676

7777
<!-- Small cart popup appeared. -->
7878
<waitForElementVisible selector="{{StorefrontMinicartSection.blockMiniCart}}" stepKey="seePopUpAppeared"/>
@@ -339,7 +339,7 @@
339339
<actionGroup ref="AddSimpleProductToCartActionGroup" stepKey="addProductToCart">
340340
<argument name="product" value="$$createProduct$$"/>
341341
</actionGroup>
342-
<click selector="{{StorefrontMinicartSection.show}}" stepKey="showCart"/>
342+
<click selector="{{StorefrontMinicartSection.showCart}}" stepKey="showCart"/>
343343

344344
<!-- Small cart popup appeared. -->
345345
<waitForElementVisible selector="{{StorefrontMinicartSection.blockMiniCart}}" stepKey="waitPopUpAppeared"/>
@@ -438,7 +438,7 @@
438438
<magentoCLI command="cache:flush" stepKey="flushCache3"/>
439439
<reloadPage stepKey="reloadProductPage"/>
440440
<waitForPageLoad stepKey="waitForReloadPage"/>
441-
<click selector="{{StorefrontMinicartSection.show}}" stepKey="showMiniCartPopup"/>
441+
<click selector="{{StorefrontMinicartSection.showCart}}" stepKey="showMiniCartPopup"/>
442442
<waitForElementVisible selector="{{StorefrontMinicartSection.blockMiniCart}}" stepKey="waitForPopUpAppeared"/>
443443

444444
<actionGroup ref="AdminTranslateElementActionGroup" stepKey="revertTranslateProceedToCheckout">

0 commit comments

Comments
 (0)