-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix minisearch not appear when disable suggestions search #30634
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
Fix minisearch not appear when disable suggestions search #30634
Conversation
Hi @mrtuvn. 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 give me 2.4-develop instance |
Hi @rogyar. Thank you for your request. I'm working on Magento instance for you. |
Hi @rogyar, here is your Magento Instance: https://0fa44faba34fd3fe80d56a0c306fc62b-2-4-develop.instances.magento-community.engineering |
@magento Functional Tests B2B, Functional Tests CE, Functional Tests EE |
Hi @mrtuvn, great job! Do you think we can cover this fix with auto-tests somehow? |
Sure let's cover it with some tests |
@rostyslav-hymon Can you let me know issue related with your change previously ? Why need to wrap quickSearch component initializing with php tag for check suggestions search enable ? |
73734d6
to
1f9766c
Compare
Hi @mrtuvn . My change resolved the issue where disabling "Search Suggestions" did not have an effect on "Quick Search" behavior. It looks like your code solves this problem more correctly. |
@engcom-Charlie @engcom-Bravo @engcom-Alfa What test type should i start for such case ? MFTF |
@mrtuvn yes, via MFTF. |
Can you help with coverage test by mftf |
@magento run all tests |
1 similar comment
@magento run all tests |
Hi guys any ideas why Unit tests fails ? But all green when view reports |
@magento run Functional Tests B2B |
1 similar comment
@magento run Functional Tests B2B |
Hi @rogyar, thank you for the review. |
✔️ QA Passed |
Hi @mrtuvn, thank you for your contribution! |
Description (*)
Previously when owner shop disable suggestions search in backend config when user try search in mobile screen. Mini search will not active. User will not able to search thing
Use declarative syntax
data-mage-init
for improve performance instead script tagx-magento-init
Preconditions (*)
Magento 2.4-develop
Php 7.4
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Expected result (*)
Appear input form search (form minisearch)
Actual result (*)
✖️ Nothing happens
Questions or comments
Contribution checklist (*)