-
Notifications
You must be signed in to change notification settings - Fork 9.4k
MFTF: Sharing Wishlist with more than allowed emails qty test #28641
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: Sharing Wishlist with more than allowed emails qty test #28641
Conversation
Hi @DmitryTsymbal. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. |
@magento run all tests |
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.
Only 2 minor changes.
The test name is self descriptive 👍
</annotations> | ||
<before> | ||
<magentoCLI command="config:set wishlist/email/number_limit 1" stepKey="changeEmailsQtyLimit"/> | ||
<magentoCLI command="cache:clean" stepKey="cleanCache"/> |
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.
You should clean only config cache
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.
Hello @lbajsarowicz
CLI command edited, please check
Thanks!
<createData entity="SimpleSubCategory" stepKey="createCategory"/> | ||
<createData entity="SimpleProduct" stepKey="createProduct"> | ||
<requiredEntity createDataKey="createCategory"/> | ||
</createData> |
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.
After creating product and category, you should run <magentoCron
for index group.
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.
Added Cron Magento CLI command on 27 line
Please check.
Thanks!
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE |
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.
✔️ Well done!
Let's wait for Functional tests to execute, but everything should be fine now.
Hi @lbajsarowicz, thank you for the review.
|
@magento create issue |
✔️ QA Passed |
@magento run all tests |
Hi @DmitryTsymbal, thank you for your contribution! |
This PR contains a test for sharing customer's wishlist with more than allowed emails qty
Steps to reproduce:
1 - Set maximum allowed qty of emails for sharing
2 - Login as a customer
3 - Add product into wishlist
4 - Share wishlist with more than maximum allowed qty emails
Resolved issues: