Closed shashwatahalder01 closed 1 month ago
The pull request introduces significant modifications across various files, enhancing vendor and customer functionalities related to product management and addons. Key changes include new features for vendors, such as managing product groups and filters, while streamlining customer interactions with product addons. Additionally, various methods and selectors have been updated or added to improve the overall structure and maintainability of the codebase. The changes reflect a comprehensive restructuring aimed at better handling product data and vendor settings.
Files | Change Summary |
---|---|
tests/pw/feature-map/feature-map.yml |
Added new vendor capabilities for group products, filter reset, and product import/export. Modified customer ability to buy products with addons. |
tests/pw/pages/loginPage.ts |
Introduced conditional check for storageState before invoking check method on rememberMe . |
tests/pw/pages/productAddonsPage.ts |
Added methods for addon management, including editing, saving, importing, and exporting addons. Refactored existing methods for clarity. |
tests/pw/pages/productsPage.ts |
Refactored product addition methods, removed redundant parameters, and added new methods for importing and resetting filters. |
tests/pw/pages/selectors.ts |
Updated selectors to use CSS instead of XPath, added new selectors for product management. |
tests/pw/pages/shortcodePage.ts |
Changed how the page title is set in addNewPage functionality. |
tests/pw/pages/spmvPage.ts |
Simplified selectors for adding and editing products. |
tests/pw/pages/vendorPage.ts |
Updated product title verification method after editing. |
tests/pw/pages/vendorSettingsPage.ts |
Introduced new selectors and methods for managing vendor settings, including RMA and SEO settings. |
tests/pw/tests/api/productReviews.spec.ts |
Changed endpoint for updating product reviews in test cases. |
tests/pw/tests/e2e/catalogmode.spec.ts |
Updated method for setting catalog mode with new parameters. |
tests/pw/tests/e2e/productAddons.spec.ts |
Enhanced functionality for global product addons, including new test cases for importing and exporting. |
tests/pw/tests/e2e/products.spec.ts |
Streamlined product addition tests, added tests for group products, and reorganized existing tests. |
tests/pw/tests/e2e/vendorBooking.spec.ts |
Added new imports and vendor RMA settings modifications in test setup. |
tests/pw/tests/e2e/vendorTools.spec.ts |
Integrated API utilities for product deletion in test setup. |
tests/pw/utils/apiEndPoints.ts |
Renamed function for updating reviews to better reflect its purpose. |
tests/pw/utils/dbData.ts |
Added new RMA settings under vendor configuration. |
tests/pw/utils/interfaces.ts |
Expanded product and vendor interfaces with new properties for better data representation. |
tests/pw/utils/payloads.ts |
Updated payloads related to product addons and renamed relevant functions. |
tests/pw/utils/sampleData/products.xml |
Updated XML export data reflecting changes in product details and metadata. |
tests/pw/utils/testData.ts |
Added description fields and expanded product configurations for testing. |
feature-map.yml
file in this PR.QA approved
🐇 In the garden where products bloom,
New features sprout, dispelling gloom.
Vendors can group, and filters reset,
With addons to manage, there's much to beget!
So hop with joy, let changes take flight,
For in this code, all feels just right! 🌼
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
Release Notes
New Features
Bug Fixes
Improvements
Tests