@faststore/core 4.9.0-dev.3 → 4.9.0-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/.turbo/turbo-generate.log +3 -3
  2. package/.turbo/turbo-test.log +131 -131
  3. package/CHANGELOG.md +6 -0
  4. package/cms/faststore/my-account/components/cms_component__accountlistquotes.jsonc +240 -0
  5. package/cms/faststore/my-account/components/cms_component__accountnavigation.jsonc +76 -0
  6. package/cms/faststore/my-account/pages/cms_content_type__myaccountquotes.jsonc +18 -0
  7. package/package.json +6 -6
  8. package/src/components/account/Drawer/OrganizationDrawer/ContractSwitcher/ContractSwitcher.tsx +129 -26
  9. package/src/components/account/Drawer/OrganizationDrawer/OrganizationDrawerHeader.tsx +7 -1
  10. package/src/components/account/quotes/MyAccountListQuotes/MyAccountListQuotes.tsx +42 -11
  11. package/src/components/account/quotes/MyAccountListQuotes/MyAccountListQuotesTable/MyAccountListQuotesTable.tsx +45 -15
  12. package/src/components/account/quotes/MyAccountListQuotes/MyAccountListQuotesTable/MyAccountQuoteStatusBadge.tsx +11 -3
  13. package/src/components/account/quotes/MyAccountListQuotes/MyAccountQuotesFilterSlider/MyAccountQuotesFilterSlider.tsx +23 -0
  14. package/src/components/account/quotes/MyAccountListQuotes/MyAccountQuotesSelectedTags/MyAccountQuotesSelectedTags.tsx +35 -11
  15. package/src/components/account/quotes/MyAccountListQuotes/MyAccountQuotesStatusSelector/MyAccountQuotesStatusSelector.tsx +27 -10
  16. package/src/components/account/quotes/MyAccountListQuotes/index.ts +2 -0
  17. package/src/components/account/quotes/MyAccountListQuotes/quoteFilters.ts +16 -6
  18. package/src/components/account/quotes/MyAccountListQuotes/quotesLabels.ts +163 -0
  19. package/src/components/cms/account/Components.ts +2 -0
  20. package/src/components/sections/Account/AccountListQuotes.tsx +141 -0
  21. package/src/pages/pvt/account/quotes/index.tsx +59 -40
  22. package/src/sdk/account/accountPageContext.ts +17 -0
  23. package/src/sdk/account/getMyAccountRoutes.ts +17 -0
  24. package/src/sdk/account/resolveNonBlankLabels.ts +36 -0
  25. package/src/server/cms/myAccountDefaultSections.ts +2 -0
  26. package/src/utils/quoteStatus.ts +81 -0
  27. package/test/components/account/ContractSwitcher.browser.test.tsx +163 -0
  28. package/test/components/account/OrganizationDrawer.browser.test.tsx +4 -0
  29. package/test/components/account/OrganizationDrawerHeader.browser.test.tsx +44 -1
  30. package/test/components/quotes/MyAccountListQuotes.test.tsx +36 -2
  31. package/test/components/quotes/MyAccountListQuotesTable.test.tsx +68 -0
  32. package/test/components/quotes/MyAccountQuoteStatusBadge.test.tsx +25 -0
  33. package/test/components/quotes/MyAccountQuotesFilterSlider.test.tsx +52 -11
  34. package/test/components/quotes/MyAccountQuotesSelectedTags.test.tsx +32 -0
  35. package/test/components/quotes/MyAccountQuotesStatusSelector.test.tsx +100 -0
  36. package/test/components/quotes/quoteFilters.test.ts +34 -0
  37. package/test/components/sections/Account/AccountListQuotes.browser.test.tsx +122 -0
  38. package/test/server/cms/myAccountDefaultSections.test.ts +21 -0
@@ -1,9 +1,9 @@
1
1
 
2
- > @faststore/core@4.9.0-dev.2 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.9.0-dev.3 generate /home/runner/work/faststore/faststore/packages/core
3
3
  > pnpm run gen-types && pnpm run cache-graphql
4
4
 
5
5
 
6
- > @faststore/core@4.9.0-dev.2 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.9.0-dev.3 gen-types /home/runner/work/faststore/faststore/packages/core
7
7
  > node ../cli/bin/run generate-types .
8
8
 
9
9
  [STARTED] Parse Configuration
@@ -19,7 +19,7 @@
19
19
  [COMPLETED] Generate to @generated/
20
20
  [COMPLETED] Generate outputs
21
21
 
22
- > @faststore/core@4.9.0-dev.2 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.9.0-dev.3 cache-graphql /home/runner/work/faststore/faststore/packages/core
23
23
  > node ../cli/bin/run cache-graphql --config=./discovery.config.default.js --queries=./@generated/persisted-documents.json
24
24
 
25
25
  [Info] - Config file location: /home/runner/work/faststore/faststore/packages/core/discovery.config.default.js
@@ -1,5 +1,5 @@
1
1
 
2
- > @faststore/core@4.9.0-dev.2 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.9.0-dev.3 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
@@ -7,30 +7,31 @@
7
7
 
8
8
  Not implemented: navigation to another Document
9
9
  Not implemented: navigation to another Document
10
+ ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 1326ms
10
11
  Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
11
12
  npx update-browserslist-db@latest
12
13
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
13
- ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 1061ms
14
- ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 2909ms
15
- ✓ shows the tab bar and renders Personal cards by default  1350ms
16
- ✓ paginates when there are more than 25 cards  381ms
17
- ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 3804ms
18
- ✓ opens the reject confirmation modal with the default English copy  1189ms
19
- ✓ opens the reject confirmation modal with CMS-provided labels  616ms
20
- ✓ shows the default English toast when a policy is rejected  484ms
21
- ✓ shows the CMS-provided toast when a policy is rejected  320ms
22
- ✓ shows the default English error toast when rejecting a policy fails  311ms
23
- ✓ shows the CMS-provided error toast when rejecting a policy fails  328ms
24
- ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (14 tests) 2355ms
25
- ✓ shows an error state when the list fails to load  520ms
26
- ✓ keeps Confirm disabled when the selected contract is filtered out  346ms
27
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 250ms
28
- ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1905ms
29
- ✓ renders the menu view with contract details and manage footer  923ms
30
- ✓ opens the contract switcher and returns to the menu on back  300ms
31
- ✓ resets to the menu when the drawer closes  340ms
32
- ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 140ms
33
- ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 111ms
14
+ ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3950ms
15
+ ✓ shows an error state when the list fails to load  730ms
16
+ ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  434ms
17
+ ✓ keeps Confirm disabled when switching is unavailable  387ms
18
+ ✓ keeps Confirm disabled when the selected contract is filtered out  422ms
19
+ ✓ honors CMS-provided labels for the header, current session, search, footer, and available count  309ms
20
+ ✓ falls back to English defaults when CMS labels are blank  310ms
21
+ ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 3089ms
22
+ ✓ shows the tab bar and renders Personal cards by default  1305ms
23
+ ✓ paginates when there are more than 25 cards  371ms
24
+ ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 2985ms
25
+ ✓ opens the reject confirmation modal with the default English copy  1081ms
26
+ ✓ opens the reject confirmation modal with CMS-provided labels  325ms
27
+ ✓ shows the default English toast when a policy is rejected  338ms
28
+ ✓ shows the CMS-provided error toast when rejecting a policy fails  302ms
29
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 330ms
30
+ ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1862ms
31
+ ✓ renders the menu view with contract details and manage footer  951ms
32
+ ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 157ms
33
+ ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 173ms
34
+ ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (5 tests) 9ms
34
35
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx
35
36
  Error in optimistic validation: TypeError: Failed to parse URL from /api/graphql?operationName=ValidateCartMutation&operationHash=3c71b0d3fc2bade14df68abfa271858beb361b12
36
37
   at node:internal/deps/undici/undici:16416:13
@@ -57,14 +58,15 @@ Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
57
58
  }
58
59
  }
59
60
 
60
- ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (5 tests) 14ms
61
61
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx > RecommendationShelf > renders nothing when there is an error
62
62
  Error fetching recommendations undefined boom for campaign vrn:recommendations:acc:rec-top-items-v2:campaign-1
63
63
 
64
- ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 135ms
65
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 59ms
66
- ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 85ms
67
- ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 74ms
64
+ ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 118ms
65
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 114ms
66
+ ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 148ms
67
+ ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 92ms
68
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 6ms
69
+ ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 36ms
68
70
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
69
71
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
70
72
 
@@ -294,10 +296,7 @@ act(() => {
294
296
  This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
295
297
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
296
298
 
297
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 576ms
298
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 8ms
299
- ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 42ms
300
- ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 55ms
299
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 558ms
301
300
  stderr | test/components/cms/RenderSections.browser.test.tsx
302
301
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
303
302
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -306,9 +305,10 @@ This ensures that you're testing the behavior the user would see in the browser.
306
305
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
307
306
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
308
307
 
309
- ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 371ms
310
- ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 90ms
311
- ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 49ms
308
+ ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 341ms
309
+ ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 51ms
310
+ ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 80ms
311
+ ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 47ms
312
312
  stderr | test/sdk/localization/store-url.browser.test.ts
313
313
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
314
314
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -317,14 +317,15 @@ This ensures that you're testing the behavior the user would see in the browser.
317
317
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
318
318
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
319
319
 
320
- ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 328ms
321
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 4ms
320
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 5ms
321
+ ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 392ms
322
322
  ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 38ms
323
- ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 42ms
324
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 129ms
325
- ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 64ms
326
- ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 21ms
327
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 61ms
323
+ ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 29ms
324
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 132ms
325
+ ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 59ms
326
+ ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 129ms
327
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 51ms
328
+ ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 15ms
328
329
  stderr | test/components/account/doLogout.browser.test.ts
329
330
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
330
331
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -333,7 +334,9 @@ This ensures that you're testing the behavior the user would see in the browser.
333
334
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
334
335
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
335
336
 
336
- ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 20ms
337
+ ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 23ms
338
+ ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 369ms
339
+ ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 48ms
337
340
  stderr | test/sdk/account/clearPersistedSessionState.browser.test.ts
338
341
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
339
342
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -342,25 +345,22 @@ This ensures that you're testing the behavior the user would see in the browser.
342
345
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
343
346
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
344
347
 
345
- ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 56ms
346
348
  ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 21ms
347
- ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 106ms
348
- ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 94ms
349
- ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 133ms
350
- ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 81ms
351
- ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (3 tests) 311ms
352
- ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 30ms
353
- ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 83ms
354
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 47ms
355
- ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (2 tests) 270ms
356
- ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 108ms
357
- ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 4ms
349
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 97ms
350
+ ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 110ms
351
+ ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 137ms
352
+ ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 80ms
353
+ ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 18ms
354
+ ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 92ms
355
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 40ms
356
+ ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (2 tests) 229ms
357
+ ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 109ms
358
+ ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 5ms
358
359
  ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 3ms
359
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 51ms
360
- ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 64ms
361
- ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 35ms
362
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 30ms
363
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 26ms
360
+ ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 52ms
361
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 36ms
362
+ ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 42ms
363
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 19ms
364
364
  stderr | test/sdk/account/refreshToken.browser.test.ts
365
365
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
366
366
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -369,12 +369,13 @@ This ensures that you're testing the behavior the user would see in the browser.
369
369
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
370
370
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
371
371
 
372
- ✓  browser  test/sdk/account/refreshToken.browser.test.ts (1 test) 6ms
373
- ✓  node  test/pages/api/switch-contract.test.ts (25 tests) 88ms
374
- ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 244ms
375
- ✓  node  test/utils/match-url.test.ts (10 tests) 11ms
372
+ ✓  browser  test/sdk/account/refreshToken.browser.test.ts (1 test) 5ms
373
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 39ms
374
+ ✓  node  test/pages/api/switch-contract.test.ts (25 tests) 79ms
375
+ ✓  node  test/utils/match-url.test.ts (10 tests) 12ms
376
+ ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 218ms
376
377
  ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 15ms
377
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 185ms
378
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 141ms
378
379
  ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 10ms
379
380
  stderr | test/components/search/SearchInputComponent.test.tsx
380
381
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
@@ -439,16 +440,22 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
439
440
  at Suspense
440
441
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
441
442
 
442
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 80ms
443
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 61ms
444
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 17ms
443
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 59ms
444
+ ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 419ms
445
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 45ms
445
446
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > redirects to /pvt/account/403 when the query fails with 401/403
446
447
  { extensions: { status: 401 } }
447
448
 
448
449
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > renders the error state (no redirect) when the query fails with a non-auth status
449
450
  { extensions: { status: 502 } }
450
451
 
451
- ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 8ms
452
+ ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 9ms
453
+ ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 819ms
454
+ ✓ navigates with the search term on blur  360ms
455
+ ✓ navigates without a label param when the search is cleared  359ms
456
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 9ms
457
+ ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 39ms
458
+ ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 9ms
452
459
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
453
460
  Graphql execution returned with error: [
454
461
  {
@@ -558,79 +565,72 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
558
565
  at trace (file:///home/runner/work/faststore/faststore/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@20.19.13_jiti@2.6.1_jsdom@27.4.0_sas_13be941c57d55f08f06eeaf1c180ddfe/node_modules/vitest/dist/chunks/test.B8ej_ZHS.js:239:21)
559
566
  at runTest (file:///home/runner/work/faststore/faststore/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:1653:12)
560
567
 
561
- ✓  node  test/pages/api/graphql.test.ts (19 tests) 29ms
562
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 33ms
563
- ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 11ms
568
+ ✓  node  test/pages/api/graphql.test.ts (19 tests) 42ms
569
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 29ms
570
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 7ms
564
571
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
565
572
  Set password request failed: Bad Request
566
573
 
567
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 39ms
568
- ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (12 tests) 479ms
569
- ✓  node  test/components/quotes/quoteFilters.test.ts (23 tests) 24ms
570
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 7ms
574
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 55ms
575
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 41ms
571
576
  ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 7ms
572
- ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (9 tests) 852ms
573
- ✓ navigates with the search term on blur  363ms
574
- ✓ navigates without a label param when the search is cleared  358ms
575
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 38ms
576
- ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 7ms
577
- ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 7ms
578
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 63ms
579
- ✓  node  test/sdk/redirects/index.test.ts (7 tests) 48ms
580
- ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (5 tests) 171ms
581
- ✓  node  test/utils/productJsonLd.test.ts (17 tests) 10ms
582
- ✓  node  test/proxy.localization.test.ts (5 tests) 41ms
583
- ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 5ms
584
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 33ms
585
- ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 17ms
586
- ✓  node  test/server/index.test.ts (7 tests) 1073ms
587
- ✓ should return a valid merged GraphQL schema  305ms
588
- ✓ should handle options and execute  496ms
589
- ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (6 tests) 10ms
590
- ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 58ms
591
- ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (8 tests) 122ms
577
+ ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 185ms
578
+ ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 154ms
579
+ ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 9ms
580
+ ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 8ms
581
+ ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 125ms
582
+ ✓  node  test/sdk/redirects/index.test.ts (7 tests) 47ms
583
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 49ms
584
+ ✓  node  test/utils/productJsonLd.test.ts (17 tests) 11ms
585
+ ✓  node  test/proxy.localization.test.ts (5 tests) 37ms
586
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 36ms
587
+ ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 29ms
588
+ ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 8ms
589
+ ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 6ms
590
+ ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (6 tests) 8ms
591
+ ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 44ms
592
+ ✓  node  test/proxy.test.ts (4 tests) 15ms
593
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 29ms
592
594
  ✓  node  test/server/webops-api.test.ts (9 tests) 13ms
593
- ✓  node  test/proxy.test.ts (4 tests) 24ms
594
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 41ms
595
- ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 32ms
596
- ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 6ms
597
- ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 12ms
598
- ✓  node  test/server/cms/myAccountDefaultSections.test.ts (7 tests) 6ms
599
- ✓  node  test/server/content/service.test.ts (5 tests) 6ms
600
- ✓  node  test/utils/productJsonLdRendering.test.tsx (4 tests) 15ms
601
- ✓  node  test/sdk/account/refreshToken.test.ts (5 tests) 9ms
595
+ ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 5ms
596
+ ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 25ms
597
+ ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 11ms
598
+ ✓  node  test/server/content/service.test.ts (5 tests) 5ms
599
+ ✓  node  test/utils/productJsonLdRendering.test.tsx (4 tests) 9ms
600
+ ✓  node  test/sdk/account/refreshToken.test.ts (5 tests) 6ms
602
601
  ✓  node  test/server/cms/global.test.ts (3 tests) 5ms
603
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 43ms
604
- ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (6 tests) 137ms
605
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 8ms
606
- ✓  node  test/server/rootSpan.test.ts (4 tests) 44ms
607
- ✓  node  test/pages/api/preview.test.ts (2 tests) 10ms
608
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 9ms
609
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 6ms
610
- ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 7ms
611
- ✓  node  test/components/account/Layout.test.tsx (6 tests) 56ms
612
- ✓  node  test/utils/retry.test.ts (5 tests) 16ms
613
- ✓  node  test/server/cms/index.test.ts (2 tests) 6ms
614
- ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 7ms
602
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 23ms
603
+ ✓  node  test/server/index.test.ts (7 tests) 3422ms
604
+ ✓ should handle options and execute  2911ms
605
+ ✓  node  test/server/rootSpan.test.ts (4 tests) 36ms
606
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 7ms
607
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 9ms
608
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 5ms
609
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 8ms
610
+ ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 6ms
611
+ ✓  node  test/components/account/Layout.test.tsx (6 tests) 58ms
612
+ ✓  node  test/utils/retry.test.ts (5 tests) 14ms
613
+ ✓  node  test/server/cms/index.test.ts (2 tests) 5ms
614
+ ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 5ms
615
615
  ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 6ms
616
616
  ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 192ms
617
617
  ✓  node  test/utils/unlockResponse.test.ts (11 tests) 6ms
618
+ ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 48ms
618
619
  ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 5ms
619
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 6ms
620
- ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 55ms
621
- ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 5ms
622
- ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 4ms
623
- ✓  node  test/utils/getCookie.test.ts (4 tests) 5ms
624
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 29ms
625
- ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 3ms
626
- ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 5ms
627
- ✓  node  test/instrumentation.test.ts (3 tests) 4ms
620
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 5ms
621
+ ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 30ms
622
+ ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 4ms
623
+ ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 3ms
624
+ ✓  node  test/utils/getCookie.test.ts (4 tests) 6ms
625
+ ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 4ms
626
+ ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 3ms
627
+ ✓  node  test/instrumentation.test.ts (3 tests) 6ms
628
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 38ms
628
629
  ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 3ms
629
- ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (2 tests) 38ms
630
- ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 9ms
630
+ ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 7ms
631
631
 
632
-  Test Files  122 passed (122)
633
-  Tests  926 passed (926)
634
-  Start at  20:43:41
635
-  Duration  59.47s (transform 12.44s, setup 0ms, import 52.26s, tests 21.15s, environment 72.86s)
632
+  Test Files  123 passed (123)
633
+  Tests  965 passed (965)
634
+  Start at  21:05:46
635
+  Duration  56.59s (transform 13.39s, setup 0ms, import 48.27s, tests 24.80s, environment 67.63s)
636
636
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.9.0-dev.4](https://github.com/vtex/faststore/compare/v4.9.0-dev.3...v4.9.0-dev.4) (2026-09-28)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **core:** localize My Account Quotes and Contract Switcher ([#3492](https://github.com/vtex/faststore/issues/3492)) ([d389c78](https://github.com/vtex/faststore/commit/d389c785ee831befadc937c4332261b1c6cab64e))
11
+
6
12
  # [4.9.0-dev.3](https://github.com/vtex/faststore/compare/v4.9.0-dev.2...v4.9.0-dev.3) (2026-09-28)
7
13
 
8
14
  **Note:** Version bump only for package @faststore/core