Closed shashwatahalder01 closed 1 month ago
This pull request includes significant modifications to the feature map configuration for a plugin, affecting user role permissions across various pages. Key changes involve restricting admin capabilities related to the Dokan plugin while enhancing vendor functionalities, particularly in product management. New methods have been added to the ProductsPage
class for managing wholesale and min-max options, alongside new test cases to validate these features. Additionally, minor adjustments were made to existing tests to improve syntax without affecting functionality.
File | Change Summary |
---|---|
tests/pw/feature-map/feature-map.yml |
- Updated permissions for various user roles across multiple pages, including restricting admin capabilities for the Dokan plugin and enhancing vendor capabilities. |
tests/pw/pages/productsPage.ts |
- Added methods for managing product wholesale options and min-max constraints, including adding, removing, and validating these options. |
tests/pw/tests/e2e/productsDetails.spec.ts |
- Introduced new test cases for managing wholesale and min-max options for products, ensuring proper functionality for vendors. |
tests/pw/tests/e2e/requestForQuoteRules.spec.ts |
- Minor syntax adjustment in the admin can edit quote rule test case, removing a trailing comma in the method call. |
QA approved
🐰 In fields of code where features bloom,
A rabbit hops, dispelling gloom.
With vendors' might and admins' grace,
New options sprout in every space.
So let us cheer, with joyful hearts,
For every change, a work of arts! 🌼
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
Bug Fixes
Tests