-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MFTF: Rename and rewrite Test that fake expired session #27277
MFTF: Rename and rewrite Test that fake expired session #27277
Conversation
- Added information about avoiding excessive Action Groups - Extracted atomic action groups with minimal features - Rewritten StorefrontAddProductToCartWithExpiredSessionTest.xml
Hi @lbajsarowicz. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
<arguments> | ||
<argument name="product" type="entity"/> | ||
</arguments> | ||
|
||
<amOnPage url="{{StorefrontProductPage.url(product.custom_attributes[url_key])}}" stepKey="goToProductPage"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was added to load the Product URL properly using StorefrontProductPage.url
and url_key
instead of Product's name
🤦♂️
Hi @dmytro-ch, thank you for the review. |
✔️ QA Passed |
@magento all run tests |
Failed functional tests not related to the changes in this PR |
Hi @lbajsarowicz, thank you for your contribution! |
Description (*)
Add to cart with Expired session:
In future I'd like to deassemble huge ActionGroup that adds to cart, but it's backwards-incompatible, so it's not the easiest task in backlog.
Related Pull Requests
Fixed Issues (if relevant)
N/A
Manual testing scenarios (*)
N/A
Questions or comments
N/A
Contribution checklist (*)