-
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
Replace repetitive actions with Action Groups in ProductsListWidgetTest #32714
Replace repetitive actions with Action Groups in ProductsListWidgetTest #32714
Conversation
Hi @kate-kyzyma. 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. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento run all tests |
@magento run Functional Tests B2B |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests CE, Integration Tests, Unit Tests |
…-ProductsListWidgetTest # Conflicts: # app/code/Magento/Cms/Test/Mftf/ActionGroup/AdminExpandContentSectionActionGroup.xml
…Refactoring-ProductsListWidgetTest
@magento run all tests |
@magento run Functional Tests EE |
@magento run Functional Tests B2B, Integration Tests |
@Den4ik those comments are added in order to preserve the stepKeys that were removed, since removing any stepKey is a backward incompatible change, as there might be some 3rd party tests that can rely on some step keys. So, by not preserving them, it means to not provide support for those tests that extend the current ones. Thanks. |
@eduard13, thanks for your comment.
Do you have examples of 3rd modules that rely on step keys? |
@Den4ik, I totally agree with you regarding the 1st point, there is no doubt about that. As about already delivered similar PRs, could you please share some if you still have a reference to them?
Unfortunately not, but since MFTF allows this, then I don’t think we need to find some real examples.
In this case, the generated stepKey won’t be the same anymore, it will be suffixed(if I’m not wrong) by ActionGroup’s stepKey. So you’ll loose its reference. Thank you. |
Hi @eduard13, thank you for the review. |
✔️ QA passed |
Hi @kate-kyzyma, thank you for your contribution! |
Description (*)
The test is refactored according to the best practices followed by MFTF.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Run the test in the local environment and verified that it run successfully.
Questions or comments
Contribution checklist (*)