Closed shashwatahalder01 closed 3 weeks ago
This pull request introduces extensive modifications to user permissions and capabilities across various features in the feature-map.yml
file, particularly affecting admin, vendor, and customer roles. Key changes include restricting admin capabilities on the "Plugins" page, enhancing vendor permissions in product management, and enabling live search functionalities for customers. Additionally, a new LiveSearch
class has been created to facilitate live search operations, and several new API endpoints and utility methods for managing widgets and sidebars have been added. The test suite for live search functionality has also been established.
File Path | Change Summary |
---|---|
tests/pw/feature-map/feature-map.yml |
Updated permissions for admin, vendor, and customer roles across multiple sections, including disabling admin actions on "Plugins" and enhancing vendor capabilities. |
tests/pw/pages/basePage.ts |
Added methods for typing and selecting options with load state; updated existing methods to include a clear parameter. |
tests/pw/pages/liveSearchPage.ts |
Added LiveSearch class with a method for performing live searches. |
tests/pw/pages/selectors.ts |
Renamed sections for consistency; added new selectors for vendor verification and live search functionalities. |
tests/pw/tests/e2e/liveSearch.spec.ts |
Introduced a new test suite for live search functionality, including setup and multiple test cases. |
tests/pw/tests/e2e/privacyPolicy.spec.ts |
Modified setup and teardown processes, commenting out some option updates. |
tests/pw/utils/apiEndPoints.ts |
Added new API endpoints for managing widgets and sidebars. |
tests/pw/utils/apiUtils.ts |
Introduced new methods in ApiUtils for widget and sidebar management. |
tests/pw/utils/dbData.ts |
Restructured dbData object to enhance widget management; added sections for live search and sidebar configurations. |
tests/pw/utils/testData.ts |
Added a new categories object in predefined test data for better organization. |
feature-map.yml
file to enhance vendor capabilities, including managing product addons, which is directly related to the changes in the main PR that also focuses on product addons.dokan-class.php
file, which may indirectly relate to the overall functionality and structure that the main PR aims to enhance, although it is less directly connected than others.QA approved
🐰 In the meadow where features bloom,
Permissions shift, dispelling gloom.
Vendors thrive, while admins pause,
Live search springs with joyful cause.
With every change, our code does dance,
A hop, a skip, a testing chance! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All Submissions:
Changes proposed in this Pull Request:
Related Pull Request(s)
Closes
How to test the changes in this Pull Request:
Changelog entry
Title
Detailed Description of the pull request. What was previous behaviour and what will be changed in this PR.
Before Changes
Describe the issue before changes with screenshots(s).
After Changes
Describe the issue after changes with screenshot(s).
Feature Video (optional)
Link of detailed video if this PR is for a feature.
PR Self Review Checklist:
FOR PR REVIEWER ONLY:
Summary by CodeRabbit
New Features
LiveSearch
class for improved product searching functionality.Bug Fixes
Documentation
dbData
object for improved widget management.Tests
Chores