Skip to content
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

[FEC-49] - shipping info model #664

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

antoniolodias
Copy link
Contributor

Summary

This PR creates shipping info model needed for this migration PR which is based on batch 12 of the chapter epic where we are migrating tests to use public test-data package

@antoniolodias antoniolodias added the fe-chapter-rotation Tasks coming from frontend chapter work label Sep 3, 2024
@antoniolodias antoniolodias requested a review from a team September 3, 2024 14:18
@antoniolodias antoniolodias self-assigned this Sep 3, 2024
@antoniolodias antoniolodias requested a review from a team as a code owner September 3, 2024 14:18
Copy link

changeset-bot bot commented Sep 3, 2024

🦋 Changeset detected

Latest commit: d7734a4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 46 packages
Name Type
@commercetools-test-data/cart Minor
@commercetools-test-data/order Minor
@commercetools-test-data/quote-request Minor
@commercetools-test-data/quote Minor
@commercetools-test-data/staged-quote Minor
@commercetools-test-data/payment Minor
@commercetools-test-data/core Minor
@commercetools-test-data/graphql-types Minor
@commercetools-test-data/associate-role Minor
@commercetools-test-data/attribute-group Minor
@commercetools-test-data/business-unit Minor
@commercetools-test-data/cart-discount Minor
@commercetools-test-data/category Minor
@commercetools-test-data/channel Minor
@commercetools-test-data/commons Minor
@commercetools-test-data/custom-application Minor
@commercetools-test-data/custom-object Minor
@commercetools-test-data/custom-view Minor
@commercetools-test-data/customer-group Minor
@commercetools-test-data/customer Minor
@commercetools-test-data/customers-search-list-my-view Minor
@commercetools-test-data/discount-code Minor
@commercetools-test-data/discounts-custom-view Minor
@commercetools-test-data/filter-values Minor
@commercetools-test-data/inventory-entry Minor
@commercetools-test-data/organization-extension Minor
@commercetools-test-data/organization Minor
@commercetools-test-data/platform-limits Minor
@commercetools-test-data/product-discount Minor
@commercetools-test-data/product-projection Minor
@commercetools-test-data/product-selection Minor
@commercetools-test-data/product-type Minor
@commercetools-test-data/product Minor
@commercetools-test-data/project-extension Minor
@commercetools-test-data/project Minor
@commercetools-test-data/review Minor
@commercetools-test-data/shipping-method Minor
@commercetools-test-data/shopping-list Minor
@commercetools-test-data/standalone-price Minor
@commercetools-test-data/state Minor
@commercetools-test-data/store Minor
@commercetools-test-data/tax-category Minor
@commercetools-test-data/type Minor
@commercetools-test-data/user Minor
@commercetools-test-data/zone Minor
@commercetools-test-data/utils Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@antoniolodias antoniolodias changed the title [FEC 49] - shipping info model [FEC-49] - shipping info model Sep 3, 2024
@antoniolodias
Copy link
Contributor Author

currently blocked by #669

Copy link
Contributor

@jaikumar-tj jaikumar-tj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 Don't forget to add changeset

Comment on lines 91 to 93
// taxedPrice: expect.objectContaining({
// totalNet: expect.objectContaining({ centAmount, currencyCode }),
// }),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this be uncommented? or was there some issue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be working now after adding missing models and adjusting tests in this PR: 4a33806

Copy link
Contributor

@jaikumar-tj jaikumar-tj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is helpful!
Screenshot 2024-09-04 at 05 19 19

models/cart/src/shipping-info/builder.spec.ts Outdated Show resolved Hide resolved
models/cart/src/shipping-info/types.ts Outdated Show resolved Hide resolved
models/cart/src/shipping-info/transformers.ts Outdated Show resolved Hide resolved
@CarlosCortizasCT
Copy link
Contributor

This is helpful! Screenshot 2024-09-04 at 05 19 19

This will be fixed once the #669 PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fe-chapter-rotation Tasks coming from frontend chapter work 🛑 Status: blocked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants