Skip to content

Commit

Permalink
MAGETWO-66666: Adding a product to cart from category page with an ex…
Browse files Browse the repository at this point in the history
…pired session does not allow product to be added

- Updated automated test.
  • Loading branch information
davgrigoryan1992 committed Aug 17, 2018
1 parent fdc446e commit 429edc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
<click selector="{{StorefrontAddProductToCartSection.addToCartBtn}}" stepKey="addToCart"/>
<waitForElementVisible selector="{{StorefrontProductPageSection.successMsg}}" time="30" stepKey="waitForProductAdded"/>
<click selector="{{StorefrontAddProductToCartSection.showCard}}" stepKey="clickToOpenCard"/>
<waitForPageLoad stepKey="WaitForFormOpened" time="3"/>
<waitForPageLoad stepKey="WaitForFormOpened"/>
<click selector="{{StorefrontAddProductToCartSection.proceed}}" stepKey="clickToProceedToCheckout"/>
<waitForPageLoad time="5" stepKey="waitForTheFormIsOpened"/>
<waitForPageLoad stepKey="waitForTheFormIsOpened"/>
<see userInput="Shipping Address" stepKey="seeShippingAddress"/>
</actionGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</before>

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

<waitForPageLoad stepKey="waitForPageLoad"/>

Expand Down

0 comments on commit 429edc8

Please sign in to comment.