Closed shashwatahalder01 closed 2 months ago
The changes encompass the addition of new test cases, coverage tags, and modifications to existing schemas and endpoints across several files. New functionality related to announcements, linked products, reverse withdrawals, and shipping classes has been introduced. Additionally, corrections were made to variable names and schema definitions to enhance data structure and type definitions.
Files | Change Summary |
---|---|
tests/pw/tests/api/announcements.spec.ts , tests/pw/tests/api/products.spec.ts , tests/pw/tests/api/reverseWithdrawal.spec.ts , tests/pw/tests/api/withdraws.spec.ts |
New coverage tags added for various API endpoints and new test cases introduced for announcements, linked products, and reverse withdrawals. |
tests/pw/tests/api/shippingStatus.spec.ts |
Modifications to regex patterns for order and shipment IDs, and a new coverage tag for a DELETE method added. |
tests/pw/utils/apiEndPoints.ts |
New endpoints for creating reverse withdrawals and retrieving linked products added; existing shipping class endpoints reorganized. |
tests/pw/utils/payloads.ts |
Correction of a variable name and addition of a new object for reverse withdrawal transactions. |
tests/pw/utils/schemas.ts |
Updates to productSchema and new linkedProductSchema introduced, enhancing type definitions and data structure. |
sequenceDiagram
participant User
participant API
participant Database
User->>API: Request to create reverse withdrawal
API->>Database: Store reverse withdrawal transaction
Database-->>API: Confirm transaction stored
API-->>User: Return success response
🐰 In the code, we hop and play,
New tests and tags brighten the day!
With schemas refined, our paths align,
For linked products and withdrawals, we shine!
So let’s celebrate with joy and cheer,
CodeRabbit's magic is finally here! 🥕✨
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
Documentation