@faststore/core 4.10.0-dev.1 → 4.10.0

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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @faststore/core@4.10.0-dev.0 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.10.0-dev.1 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.10.0-dev.0 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.10.0-dev.1 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.10.0-dev.0 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.10.0-dev.1 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.10.0-dev.0 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.10.0-dev.1 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
@@ -7,28 +7,30 @@
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) 861ms
10
+ ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 1139ms
11
11
  Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
12
12
  npx update-browserslist-db@latest
13
13
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
14
- ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3552ms
15
- ✓ shows an error state when the list fails to load  799ms
16
- ✓ keeps Confirm disabled when switching is unavailable  389ms
17
- ✓ keeps Confirm disabled when the selected contract is filtered out  358ms
18
- ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 2091ms
19
- ✓ shows the tab bar and renders Personal cards by default  975ms
20
- ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 2599ms
21
- ✓ opens the reject confirmation modal with the default English copy  1020ms
22
- ✓ opens the reject confirmation modal with CMS-provided labels  394ms
23
- ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 375ms
24
- ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1642ms
25
- ✓ renders the menu view with contract details and manage footer  745ms
26
- ✓ opens the contract switcher and returns to the menu on back  305ms
27
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 285ms
28
- ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 107ms
29
- ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 26ms
30
- ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 119ms
31
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 80ms
14
+ ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 3084ms
15
+ ✓ shows the tab bar and renders Personal cards by default  1102ms
16
+ ✓ paginates when there are more than 25 cards  561ms
17
+ ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3654ms
18
+ ✓ shows an error state when the list fails to load  561ms
19
+ ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  353ms
20
+ ✓ keeps Confirm disabled until a different contract is selected  345ms
21
+ ✓ keeps Confirm disabled when switching is unavailable  359ms
22
+ ✓ keeps Confirm disabled when the selected contract is filtered out  384ms
23
+ ✓ honors CMS-provided labels for the header, current session, search, footer, and available count  339ms
24
+ ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 3027ms
25
+ ✓ opens the reject confirmation modal with the default English copy  1153ms
26
+ ✓ opens the reject confirmation modal with CMS-provided labels  524ms
27
+ ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 282ms
28
+ ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1296ms
29
+ ✓ renders the menu view with contract details and manage footer  699ms
30
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 154ms
31
+ ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 113ms
32
+ ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 22ms
33
+ ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 150ms
32
34
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx
33
35
  Error in optimistic validation: TypeError: Failed to parse URL from /api/graphql?operationName=ValidateCartMutation&operationHash=3c71b0d3fc2bade14df68abfa271858beb361b12
34
36
   at node:internal/deps/undici/undici:16416:13
@@ -58,10 +60,12 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
58
60
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx > RecommendationShelf > renders nothing when there is an error
59
61
  Error fetching recommendations undefined boom for campaign vrn:recommendations:acc:rec-top-items-v2:campaign-1
60
62
 
61
- ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 150ms
62
- ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 90ms
63
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 20ms
64
- ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 129ms
63
+ ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 116ms
64
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 129ms
65
+ ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 157ms
66
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 42ms
67
+ ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 62ms
68
+ ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 40ms
65
69
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
66
70
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
67
71
 
@@ -147,6 +151,7 @@ act(() => {
147
151
  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
148
152
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
149
153
 
154
+ ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 360ms
150
155
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > uses the fallback invalid-password message when API omits an error
151
156
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
152
157
 
@@ -291,10 +296,8 @@ act(() => {
291
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
292
297
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
293
298
 
294
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 762ms
295
- ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 57ms
296
- ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 458ms
297
- ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 44ms
299
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 586ms
300
+ ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 40ms
298
301
  stderr | test/components/cms/RenderSections.browser.test.tsx
299
302
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
300
303
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -303,8 +306,8 @@ This ensures that you're testing the behavior the user would see in the browser.
303
306
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
304
307
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
305
308
 
306
- ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 38ms
307
- ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 84ms
309
+ ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 43ms
310
+ ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 91ms
308
311
  stderr | test/sdk/localization/store-url.browser.test.ts
309
312
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
310
313
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -313,15 +316,15 @@ This ensures that you're testing the behavior the user would see in the browser.
313
316
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
314
317
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
315
318
 
316
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 5ms
317
- ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 275ms
318
- ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 28ms
319
- ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 36ms
320
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 133ms
321
- ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 121ms
322
- ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 53ms
323
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 36ms
324
- ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 19ms
319
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 6ms
320
+ ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 345ms
321
+ ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 40ms
322
+ ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 48ms
323
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 134ms
324
+ ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 135ms
325
+ ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 46ms
326
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 67ms
327
+ ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 18ms
325
328
  stderr | test/components/account/doLogout.browser.test.ts
326
329
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
327
330
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -330,9 +333,9 @@ This ensures that you're testing the behavior the user would see in the browser.
330
333
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
331
334
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
332
335
 
333
- ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 35ms
334
- ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 297ms
335
- ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 45ms
336
+ ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 25ms
337
+ ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 50ms
338
+ ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 367ms
336
339
  stderr | test/sdk/account/clearPersistedSessionState.browser.test.ts
337
340
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
338
341
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -341,14 +344,15 @@ This ensures that you're testing the behavior the user would see in the browser.
341
344
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
342
345
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
343
346
 
344
- ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 25ms
345
- ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 91ms
346
- ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 91ms
347
- ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 103ms
348
- ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 29ms
349
- ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 79ms
350
- ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 28ms
351
- ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 92ms
347
+ ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 24ms
348
+ ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 109ms
349
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 88ms
350
+ ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 146ms
351
+ ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 26ms
352
+ ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 95ms
353
+ ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 29ms
354
+ ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 88ms
355
+ ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (2 tests) 262ms
352
356
  stderr | test/sdk/session/sessionStore.browser.test.ts
353
357
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
354
358
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -357,9 +361,8 @@ This ensures that you're testing the behavior the user would see in the browser.
357
361
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
358
362
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
359
363
 
360
- ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 7ms
361
- ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (2 tests) 215ms
362
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 47ms
364
+ ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 8ms
365
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 39ms
363
366
  stderr | test/sdk/session/validateSession.browser.test.ts
364
367
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
365
368
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -368,14 +371,15 @@ This ensures that you're testing the behavior the user would see in the browser.
368
371
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
369
372
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
370
373
 
371
- ✓  browser  test/sdk/session/validateSession.browser.test.ts (1 test) 5ms
372
- ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 106ms
373
- ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 4ms
374
+ ✓  browser  test/sdk/session/validateSession.browser.test.ts (1 test) 6ms
375
+ ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 132ms
376
+ ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 6ms
374
377
  ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 3ms
375
- ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 47ms
376
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 41ms
377
- ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 36ms
378
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 26ms
378
+ ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 50ms
379
+ ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 45ms
380
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 35ms
381
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 31ms
382
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 43ms
379
383
  stderr | test/sdk/account/refreshToken.browser.test.ts
380
384
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
381
385
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -384,12 +388,11 @@ This ensures that you're testing the behavior the user would see in the browser.
384
388
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
385
389
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
386
390
 
387
- ✓  browser  test/sdk/account/refreshToken.browser.test.ts (1 test) 4ms
388
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 30ms
389
- ✓  node  test/pages/api/switch-contract.test.ts (25 tests) 80ms
390
- ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 224ms
391
+ ✓  browser  test/sdk/account/refreshToken.browser.test.ts (1 test) 6ms
392
+ ✓  node  test/pages/api/switch-contract.test.ts (25 tests) 78ms
393
+ ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 238ms
391
394
  ✓  node  test/utils/match-url.test.ts (10 tests) 9ms
392
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 11ms
395
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 12ms
393
396
  stderr | test/sdk/deliveryPromise/provider.effect.test.tsx > DeliveryPromiseProvider pickup fetch > clears the loading flag after a failed request and retries on the next update
394
397
  Failed to fetch pickup points: Error: network
395
398
  at /home/runner/work/faststore/faststore/packages/core/test/sdk/deliveryPromise/provider.effect.test.tsx:250:30
@@ -416,13 +419,12 @@ This ensures that you're testing the behavior the user would see in the browser.
416
419
  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)
417
420
  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)
418
421
 
419
- ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 81ms
420
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 128ms
421
- ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 14ms
422
+ ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 94ms
423
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 172ms
424
+ ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 15ms
422
425
  stderr | test/components/search/SearchInputComponent.test.tsx
423
426
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
424
427
 
425
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 10ms
426
428
  stderr | test/components/search/SearchInputComponent.test.tsx > SearchInput (OES integration) > renders without crashing
427
429
  Warning: React does not recognize the `visibleDropdown` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `visibledropdown` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
428
430
  at div
@@ -483,23 +485,24 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
483
485
  at Suspense
484
486
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
485
487
 
486
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 79ms
487
- ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 404ms
488
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 40ms
488
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 9ms
489
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 75ms
490
+ ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 454ms
491
+ ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 830ms
492
+ ✓ navigates with the search term on blur  361ms
493
+ ✓ navigates without a label param when the search is cleared  358ms
494
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 67ms
489
495
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > redirects to /pvt/account/403 when the query fails with 401/403
490
496
  { extensions: { status: 401 } }
491
497
 
492
498
  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
493
499
  { extensions: { status: 502 } }
494
500
 
495
- ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 8ms
496
- ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 829ms
497
- ✓ navigates with the search term on blur  360ms
498
- ✓ navigates without a label param when the search is cleared  357ms
499
- ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 25ms
500
- ✓  node  test/utils/productJsonLd.test.ts (36 tests) 15ms
501
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 15ms
502
- ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 9ms
501
+ ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 12ms
502
+ ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 43ms
503
+ ✓  node  test/utils/productJsonLd.test.ts (36 tests) 16ms
504
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 18ms
505
+ ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 21ms
503
506
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
504
507
  Graphql execution returned with error: [
505
508
  {
@@ -609,77 +612,78 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
609
612
  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)
610
613
  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)
611
614
 
612
- ✓  node  test/pages/api/graphql.test.ts (19 tests) 33ms
613
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 24ms
614
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 5ms
615
+ ✓  node  test/pages/api/graphql.test.ts (19 tests) 34ms
616
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 20ms
617
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 7ms
615
618
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
616
619
  Set password request failed: Bad Request
617
620
 
618
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 28ms
619
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 39ms
620
- ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 7ms
621
- ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 153ms
621
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 49ms
622
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 49ms
623
+ ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 6ms
624
+ ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 193ms
625
+ ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 181ms
626
+ ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 10ms
622
627
  ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 7ms
623
- ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 185ms
624
- ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 9ms
625
- ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 119ms
626
- ✓  node  test/sdk/redirects/index.test.ts (7 tests) 45ms
627
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 49ms
628
- ✓  node  test/proxy.localization.test.ts (5 tests) 46ms
629
- ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 10ms
628
+ ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 95ms
629
+ ✓  node  test/sdk/redirects/index.test.ts (7 tests) 49ms
630
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 55ms
631
+ ✓  node  test/proxy.localization.test.ts (5 tests) 39ms
630
632
  ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 53ms
631
- ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 22ms
632
- ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 6ms
633
- ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 14ms
634
- ✓  node  test/utils/trustedForwardedHost.test.ts (27 tests) 8ms
635
- ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 37ms
636
- ✓  node  test/proxy.test.ts (4 tests) 18ms
637
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 28ms
638
- ✓  node  test/server/webops-api.test.ts (9 tests) 10ms
639
- ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 4ms
640
- ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 21ms
641
- ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 9ms
642
- ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 10ms
643
- ✓  node  test/server/content/service.test.ts (5 tests) 5ms
644
- ✓  node  test/sdk/account/refreshToken.test.ts (5 tests) 6ms
645
- ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 5ms
646
- ✓  node  test/server/cms/global.test.ts (3 tests) 4ms
647
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 58ms
648
- ✓  node  test/server/rootSpan.test.ts (4 tests) 27ms
649
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 4ms
650
- ✓  node  test/pages/api/preview.test.ts (2 tests) 8ms
651
- ✓  node  test/components/account/Layout.test.tsx (6 tests) 60ms
633
+ ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 10ms
634
+ ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 25ms
635
+ ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 7ms
636
+ ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 21ms
637
+ ✓  node  test/utils/trustedForwardedHost.test.ts (27 tests) 9ms
638
+ ✓  node  test/server/index.test.ts (7 tests) 1123ms
639
+ ✓ should return a valid merged GraphQL schema  302ms
640
+ ✓ should handle options and execute  548ms
641
+ ✓  node  test/proxy.test.ts (4 tests) 26ms
642
+ ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 52ms
643
+ ✓  node  test/server/webops-api.test.ts (9 tests) 17ms
644
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 46ms
645
+ ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 5ms
646
+ ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 32ms
647
+ ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 11ms
648
+ ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 24ms
649
+ ✓  node  test/sdk/account/refreshToken.test.ts (5 tests) 8ms
650
+ ✓  node  test/server/content/service.test.ts (5 tests) 6ms
651
+ ✓  node  test/server/cms/global.test.ts (3 tests) 5ms
652
+ ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 6ms
653
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 32ms
654
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 10ms
655
+ ✓  node  test/components/account/Layout.test.tsx (6 tests) 74ms
656
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 10ms
657
+ ✓  node  test/server/rootSpan.test.ts (4 tests) 55ms
652
658
  ✓  node  test/components/search/SearchInput.test.ts (6 tests) 7ms
653
- ✓  node  test/server/index.test.ts (7 tests) 5004ms
654
- ✓ should handle options and execute  4484ms
655
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 5ms
656
- ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 4ms
657
- ✓  node  test/server/cms/index.test.ts (2 tests) 5ms
658
- ✓  node  test/components/region/useRegion.test.ts (1 test) 19ms
659
- ✓  node  test/utils/retry.test.ts (5 tests) 11ms
660
- ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 4ms
661
- ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 189ms
662
- ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 6ms
659
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 4ms
660
+ ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 6ms
661
+ ✓  node  test/server/cms/index.test.ts (2 tests) 4ms
662
+ ✓  node  test/utils/retry.test.ts (5 tests) 20ms
663
+ ✓  node  test/components/region/useRegion.test.ts (1 test) 25ms
664
+ ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 196ms
665
+ ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 12ms
666
+ ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 5ms
663
667
  ✓  node  test/utils/unlockResponse.test.ts (11 tests) 6ms
664
- ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 4ms
665
- ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 36ms
666
- ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 5ms
667
- ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 34ms
668
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 5ms
668
+ ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 6ms
669
+ ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 56ms
670
+ ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 8ms
671
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 6ms
672
+ ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 47ms
673
+ ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 5ms
669
674
  ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 4ms
670
- ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 4ms
671
- ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 4ms
672
675
  ✓  node  test/utils/getCookie.test.ts (4 tests) 5ms
673
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 43ms
674
- ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 4ms
676
+ ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 4ms
677
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 44ms
675
678
  ✓  node  test/utils/filterChannel.test.ts (2 tests) 4ms
676
- ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 4ms
677
- ✓  node  test/instrumentation.test.ts (3 tests) 4ms
679
+ ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 4ms
680
+ ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 5ms
681
+ ✓  node  test/instrumentation.test.ts (3 tests) 7ms
682
+ ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 14ms
678
683
  ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 3ms
679
- ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 8ms
680
684
 
681
685
   Test Files  135 passed (135)
682
686
   Tests  1066 passed (1066)
683
-  Start at  13:47:09
684
-  Duration  61.44s (transform 13.92s, setup 0ms, import 53.33s, tests 24.35s, environment 74.85s)
687
+  Start at  14:49:23
688
+  Duration  63.45s (transform 15.36s, setup 0ms, import 55.98s, tests 22.27s, environment 77.96s)
685
689
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
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.10.0](https://github.com/vtex/faststore/compare/v4.10.0-dev.1...v4.10.0) (2026-10-15)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
6
10
  # [4.10.0-dev.1](https://github.com/vtex/faststore/compare/v4.10.0-dev.0...v4.10.0-dev.1) (2026-10-15)
7
11
 
8
12
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.10.0-dev.1",
3
+ "version": "4.10.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -71,11 +71,11 @@
71
71
  "style-loader": "^3.3.1",
72
72
  "swr": "^2.2.5",
73
73
  "use-sync-external-store": "^1.6.0",
74
- "@faststore/api": "4.10.0-dev.1",
75
- "@faststore/diagnostics": "4.10.0-dev.1",
76
- "@faststore/lighthouse": "4.10.0-dev.1",
77
- "@faststore/ui": "4.10.0-dev.1",
78
- "@faststore/sdk": "4.10.0-dev.1"
74
+ "@faststore/api": "4.10.0",
75
+ "@faststore/diagnostics": "4.10.0",
76
+ "@faststore/lighthouse": "4.10.0",
77
+ "@faststore/sdk": "4.10.0",
78
+ "@faststore/ui": "4.10.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@cypress/code-coverage": "^3.12.1",