Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 33476f8

Browse files
authored
Merge pull request #67 from magento-epam/SPRINT-1-MAGETWO-66666
Sprint 1 magetwo 66666
2 parents ff5e650 + 429edc8 commit 33476f8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontAddProductToCardActionGroup.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
<see userInput="You saved the product." stepKey="seeSaveConfirmation"/>
3232
</actionGroup>
3333

34-
<actionGroup name="FindAndAddProductToCardActionGroup">
34+
<actionGroup name="FindAndAddProductToCardActGr">
3535
<click selector="{{StorefrontAddProductToCartSection.addToCartBtn}}" stepKey="addToCart"/>
3636
<waitForElementVisible selector="{{StorefrontProductPageSection.successMsg}}" time="30" stepKey="waitForProductAdded"/>
3737
<click selector="{{StorefrontAddProductToCartSection.showCard}}" stepKey="clickToOpenCard"/>
38-
<waitForPageLoad stepKey="WaitForFormOpened" time="3"/>
38+
<waitForPageLoad stepKey="WaitForFormOpened"/>
3939
<click selector="{{StorefrontAddProductToCartSection.proceed}}" stepKey="clickToProceedToCheckout"/>
40-
<waitForPageLoad time="5" stepKey="waitForTheFormIsOpened"/>
40+
<waitForPageLoad stepKey="waitForTheFormIsOpened"/>
4141
<see userInput="Shipping Address" stepKey="seeShippingAddress"/>
4242
</actionGroup>
4343

app/code/Magento/Customer/Test/Mftf/Test/AddingProductWithExpiredSessionTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</before>
2626

2727
<!--Navigate to a category page -->
28-
<amOnPage url="/{{SimpleProductOne.name}}.html" stepKey="GoToProductPage"/>
28+
<amOnPage url="/{{SimpleProductOne.urlKey}}.html" stepKey="GoToProductPage"/>
2929

3030
<waitForPageLoad stepKey="waitForPageLoad"/>
3131

@@ -36,7 +36,7 @@
3636
delete_cookie('form_key');" stepKey="removeCookies" after="waitForPageLoad"/>
3737

3838
<!-- "Add to Cart" any product-->
39-
<actionGroup ref="FindAndAddProductToCardActionGroup" stepKey="addProductToCard"/>
39+
<actionGroup ref="FindAndAddProductToCardActGr" stepKey="addProductToCard"/>
4040

4141
<after>
4242
<!--Delete created product-->

0 commit comments

Comments
 (0)