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

feat: adds cart etag interceptor #746

Merged
merged 11 commits into from
Sep 6, 2023

Conversation

supproduction
Copy link
Contributor

@supproduction supproduction commented Sep 5, 2023

adds etag

closes HRZ-89614

@supproduction supproduction requested a review from a team as a code owner September 5, 2023 13:33
@supproduction supproduction changed the base branch from feat/hrz-89557-price-mode-component to pr-fixes September 5, 2023 13:33
Base automatically changed from pr-fixes to feat/hrz-89557-price-mode-component September 5, 2023 13:40
@cypress
Copy link

cypress bot commented Sep 5, 2023

1 failed and 2 flaky tests on run #9789 ↗︎

1 53 52 0 Flakiness 2

Details:

fix
Project: Composable Storefront Commit: d8c11e365e
Status: Failed Duration: 04:36 💡
Started: Sep 6, 2023 8:03 AM Ended: Sep 6, 2023 8:07 AM
Failed  src/integration/category.cy.ts • 1 failed test • sf-regression

View Output Video

Test Artifacts
Sorting on the Category page > default sorting applied even after clearing the sort parameter Output Screenshots Video
Flakiness  category.cy.ts • 1 flaky test • sf-regression

View Output Video

Test Artifacts
Filtering on the Category page > should change products list when category filter is cleared Output Screenshots Video
Flakiness  cart.cy.ts • 1 flaky test • sf-regression

View Output Video

Test Artifacts
... > should show a global error if an error occurs while cart editing Output Screenshots Video

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@cypress
Copy link

cypress bot commented Sep 5, 2023

Passing run #2249 ↗︎

0 27 0 0 Flakiness 0

Details:

fix
Project: Fulfillment App Commit: d8c11e365e
Status: Passed Duration: 04:17 💡
Started: Sep 6, 2023 8:03 AM Ended: Sep 6, 2023 8:07 AM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@supproduction supproduction changed the title adds etag feat: adds cart etag interceptor Sep 5, 2023
@@ -37,4 +37,8 @@ export const cartProviders: Provider[] = [
CartTotalsProvider,
...cartNormalizer,
...cartsNormalizer,
// {
Copy link
Contributor

Choose a reason for hiding this comment

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

👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I commented out it because of CORS issue

@@ -21,6 +21,7 @@ export module ApiCartModel {
thresholds?: unknown[];
currency?: string;
store?: string;
etag?: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm thinking about more generic name in our UI model for cart, maybe version ?

@supproduction supproduction merged commit b8c4a22 into feat/hrz-89557-price-mode-component Sep 6, 2023
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants