-
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] Add new AdminClickAddProductToggleAndSelectProductTypeActionGroup #30525
[MFTF] Add new AdminClickAddProductToggleAndSelectProductTypeActionGroup #30525
Conversation
Hi @Usik2203. 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 Functional Tests CE , Functional Tests EE , Functional Tests B2B |
Hi @Usik2203. Thanks for the refactoring. Good job! Since your edits contain backward-incompatible changes, the best way is to wait for 2.5-develop branch. I'm putting this on hold for now. Thanks. |
Hi @Usik2203. Please, refer to my comment that explains a workaround for removing old steps and preserving BC |
@magento run Functional Tests CE , Functional Tests EE , Functional Tests B2B |
@magento run Functional Tests EE , Functional Tests B2B |
Hi @rogyar |
@@ -36,8 +36,10 @@ | |||
<!-- Create a product to appear in the widget, fill in basic info first --> | |||
|
|||
<actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="amOnProductList"/> | |||
<click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickAddProductToggle"/> | |||
<click selector="{{AdminProductGridActionSection.addBundleProduct}}" stepKey="clickAddBundleProduct"/> | |||
<comment userInput="StepKey Backward Compatibility" stepKey="clickAddProductToggle"/> |
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.
That will do the trick. However, it might not be obvious for me as a developer why we add this comment according to the current description. I would recommend putting some meaningful description like
userInput="Adding the comment to replace clickAddProductToggle action for preserving Backward Compatibility"
It applies to all other comments in all your PRs.
Thanks
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.
Hi @rogyar
I have applied your recommendations
Thanks :)
Hi @rogyar, thank you for the review. |
QA not applicable |
@magento run all tests |
@magento create issue |
Hi @Usik2203, thank you for your contribution! |
This PR add
AdminClickAddProductToggleAndSelectProductTypeActionGroup
Resolved issues: