@faststore/core 4.11.4-dev.0 → 4.11.4-dev.1

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.11.3 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.11.4-dev.0 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.11.3 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.11.4-dev.0 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.11.3 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.11.4-dev.0 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.11.3 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.11.4-dev.0 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
@@ -7,29 +7,29 @@
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) 1178ms
10
+ ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 975ms
11
11
  Browserslist: browsers data (caniuse-lite) is 9 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/cards/MyAccountListCards.browser.test.tsx (16 tests) 1796ms
15
- ✓ shows the tab bar and renders Personal cards by default  568ms
16
- ✓ paginates when there are more than 25 cards  314ms
17
- ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 2718ms
18
- ✓ shows an error state when the list fails to load  569ms
19
- ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  446ms
20
- ✓ keeps Confirm disabled until a different contract is selected  398ms
21
- ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 2396ms
22
- ✓ opens the reject confirmation modal with the default English copy  950ms
23
- ✓ opens the reject confirmation modal with CMS-provided labels  311ms
24
- ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 261ms
25
- ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1686ms
26
- ✓ renders the menu view with contract details and manage footer  995ms
27
- ✓ opens the contract switcher and returns to the menu on back  330ms
28
- ✓  browser  test/sdk/product/usePageProductsQuery.browser.test.ts (9 tests) 34ms
29
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 99ms
30
- ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 7ms
31
- ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 57ms
32
- ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 88ms
14
+ ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 2842ms
15
+ ✓ shows the tab bar and renders Personal cards by default  1156ms
16
+ ✓ paginates when there are more than 25 cards  479ms
17
+ ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3486ms
18
+ ✓ shows an error state when the list fails to load  820ms
19
+ ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  408ms
20
+ ✓ keeps Confirm disabled until a different contract is selected  341ms
21
+ ✓ keeps Confirm disabled when switching is unavailable  359ms
22
+ ✓ keeps Confirm disabled when the selected contract is filtered out  361ms
23
+ ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 2266ms
24
+ ✓ opens the reject confirmation modal with the default English copy  753ms
25
+ ✓ opens the reject confirmation modal with CMS-provided labels  319ms
26
+ ✓  browser  test/sdk/product/usePageProductsQuery.browser.test.ts (9 tests) 127ms
27
+ ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 228ms
28
+ ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1594ms
29
+ ✓ renders the menu view with contract details and manage footer  802ms
30
+ ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 11ms
31
+ ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 75ms
32
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 188ms
33
33
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx
34
34
  Error in optimistic validation: TypeError: Failed to parse URL from /api/graphql?operationName=ValidateCartMutation&operationHash=3c71b0d3fc2bade14df68abfa271858beb361b12
35
35
   at node:internal/deps/undici/undici:16416:13
@@ -56,15 +56,26 @@ Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
56
56
  }
57
57
  }
58
58
 
59
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 57ms
59
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 33ms
60
+ ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 98ms
60
61
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx > RecommendationShelf > renders nothing when there is an error
61
62
  Error fetching recommendations undefined boom for campaign vrn:recommendations:acc:rec-top-items-v2:campaign-1
62
63
 
63
- ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 76ms
64
- ✓  browser  test/sdk/product/useProductQuery.browser.test.ts (5 tests) 323ms
65
- ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 126ms
66
- ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 104ms
67
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 8ms
64
+ ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 83ms
65
+ ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 53ms
66
+ ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 114ms
67
+ ✓  browser  test/sdk/product/useProductQuery.browser.test.ts (5 tests) 359ms
68
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 13ms
69
+ stderr | test/sdk/session/validateSession.browser.test.ts
70
+ Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
71
+ at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
72
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
73
+ at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
74
+ at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
75
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
76
+
77
+ ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 41ms
78
+ ✓  browser  test/sdk/session/validateSession.browser.test.ts (9 tests) 21ms
68
79
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
69
80
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
70
81
 
@@ -150,7 +161,6 @@ act(() => {
150
161
  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
151
162
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
152
163
 
153
- ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 75ms
154
164
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > uses the fallback invalid-password message when API omits an error
155
165
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
156
166
 
@@ -199,14 +209,6 @@ act(() => {
199
209
  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
200
210
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
201
211
 
202
- stderr | test/sdk/session/validateSession.browser.test.ts
203
- Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
204
- at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
205
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
206
- at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
207
- at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
208
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
209
-
210
212
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > shows service unavailable when the response is not a login payload
211
213
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
212
214
 
@@ -303,12 +305,8 @@ act(() => {
303
305
  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
304
306
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
305
307
 
306
- ✓  browser  test/sdk/session/validateSession.browser.test.ts (9 tests) 9ms
307
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 1057ms
308
- ✓ renders the password protection form  518ms
309
- ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 71ms
310
- ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 491ms
311
- ✓ shows manage link for organization managers  327ms
308
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 1061ms
309
+ ✓ renders the password protection form  461ms
312
310
  stderr | test/components/cms/RenderSections.browser.test.tsx
313
311
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
314
312
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -317,9 +315,13 @@ This ensures that you're testing the behavior the user would see in the browser.
317
315
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
318
316
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
319
317
 
320
- ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 55ms
321
- ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 22ms
322
- ✓  browser  test/sdk/product/usePageProductsQuery.deliveryPromise.browser.test.ts (3 tests) 23ms
318
+ ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 607ms
319
+ ✓ shows manage link for organization managers  391ms
320
+ ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 40ms
321
+ ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 121ms
322
+ ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 37ms
323
+ ✓  browser  test/sdk/product/usePageProductsQuery.deliveryPromise.browser.test.ts (3 tests) 29ms
324
+ ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 228ms
323
325
  stderr | test/sdk/localization/store-url.browser.test.ts
324
326
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
325
327
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -328,10 +330,9 @@ This ensures that you're testing the behavior the user would see in the browser.
328
330
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
329
331
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
330
332
 
331
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 3ms
332
- ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 23ms
333
- ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 247ms
334
- ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 26ms
333
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 4ms
334
+ ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 26ms
335
+ ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 34ms
335
336
  stderr | test/sdk/session/refreshTokenRoute.browser.test.ts
336
337
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
337
338
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -340,12 +341,12 @@ This ensures that you're testing the behavior the user would see in the browser.
340
341
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
341
342
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
342
343
 
343
- ✓  browser  test/sdk/session/refreshTokenRoute.browser.test.ts (3 tests) 5ms
344
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 122ms
345
- ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 75ms
346
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 72ms
347
- ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 34ms
348
- ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 14ms
344
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 128ms
345
+ ✓  browser  test/sdk/session/refreshTokenRoute.browser.test.ts (3 tests) 6ms
346
+ ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 42ms
347
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 46ms
348
+ ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 109ms
349
+ ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 12ms
349
350
  stderr | test/components/account/doLogout.browser.test.ts
350
351
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
351
352
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -354,12 +355,11 @@ This ensures that you're testing the behavior the user would see in the browser.
354
355
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
355
356
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
356
357
 
357
- ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 14ms
358
- ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 235ms
359
- ✓  browser  test/sdk/product/useProductNotFoundRedirect.browser.test.ts (7 tests) 25ms
360
- ✓  browser  test/sdk/account/useRefreshToken.browser.test.ts (4 tests) 130ms
361
- ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 22ms
362
- ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (4 tests) 156ms
358
+ ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 39ms
359
+ ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 288ms
360
+ ✓  browser  test/sdk/product/useProductNotFoundRedirect.browser.test.ts (7 tests) 30ms
361
+ ✓  browser  test/sdk/account/useRefreshToken.browser.test.ts (4 tests) 134ms
362
+ ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 38ms
363
363
  stderr | test/sdk/account/clearPersistedSessionState.browser.test.ts
364
364
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
365
365
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -368,13 +368,14 @@ This ensures that you're testing the behavior the user would see in the browser.
368
368
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
369
369
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
370
370
 
371
- ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 12ms
372
- ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 58ms
373
- ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 56ms
374
- ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 83ms
371
+ ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (4 tests) 222ms
372
+ ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 15ms
373
+ ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 55ms
374
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 72ms
375
+ ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 95ms
375
376
  ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 53ms
376
- ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 11ms
377
- ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 17ms
377
+ ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 19ms
378
+ ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 20ms
378
379
  stderr | test/sdk/session/sessionStore.browser.test.ts
379
380
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
380
381
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -383,10 +384,10 @@ This ensures that you're testing the behavior the user would see in the browser.
383
384
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
384
385
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
385
386
 
386
- ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 4ms
387
- ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 56ms
388
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 25ms
389
- ✓  browser  test/utils/shouldBypassRefreshToken.browser.test.ts (5 tests) 3ms
387
+ ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 5ms
388
+ ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 64ms
389
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 32ms
390
+ ✓  browser  test/utils/shouldBypassRefreshToken.browser.test.ts (5 tests) 5ms
390
391
  stderr | test/sdk/account/refreshToken.browser.test.ts
391
392
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
392
393
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -396,17 +397,18 @@ This ensures that you're testing the behavior the user would see in the browser.
396
397
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
397
398
 
398
399
  ✓  browser  test/sdk/account/refreshToken.browser.test.ts (2 tests) 4ms
399
- ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 2ms
400
- ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 73ms
401
- ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 30ms
402
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 26ms
403
- ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 21ms
404
- ✓  node  test/pages/api/switch-contract.test.ts (61 tests) 126ms
405
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 20ms
406
- ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 125ms
407
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 24ms
408
- ✓  node  test/server/content/service.test.ts (32 tests) 26ms
409
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 10ms
400
+ ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 75ms
401
+ ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 3ms
402
+ ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 36ms
403
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 25ms
404
+ ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 23ms
405
+ ✓  node  test/pages/api/switch-contract.test.ts (61 tests) 137ms
406
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 21ms
407
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 32ms
408
+ ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 174ms
409
+ ✓  node  test/server/content/service.test.ts (32 tests) 36ms
410
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 12ms
411
+ ✓  node  test/utils/match-url.test.ts (10 tests) 6ms
410
412
  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
411
413
  Failed to fetch pickup points: Error: network
412
414
  at /home/runner/work/faststore/faststore/packages/core/test/sdk/deliveryPromise/provider.effect.test.tsx:250:30
@@ -433,8 +435,7 @@ This ensures that you're testing the behavior the user would see in the browser.
433
435
  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)
434
436
  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)
435
437
 
436
- ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 76ms
437
- ✓  node  test/utils/match-url.test.ts (10 tests) 7ms
438
+ ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 75ms
438
439
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
439
440
  Graphql execution returned with error: [
440
441
  {
@@ -576,10 +577,10 @@ This ensures that you're testing the behavior the user would see in the browser.
576
577
  extensions: { status: 401, type: 'UnauthorizedError' }
577
578
  }
578
579
 
579
- ✓  node  test/pages/api/graphql.test.ts (30 tests) 24ms
580
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 96ms
580
+ ✓  node  test/pages/api/graphql.test.ts (30 tests) 37ms
581
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 114ms
581
582
  ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 8ms
582
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 6ms
583
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 7ms
583
584
  stderr | test/components/search/SearchInputComponent.test.tsx
584
585
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
585
586
 
@@ -643,63 +644,63 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
643
644
  at Suspense
644
645
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
645
646
 
646
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 45ms
647
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 55ms
647
648
  ✓  node  test/sdk/account/refreshToken.test.ts (21 tests) 8ms
648
- ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 266ms
649
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 25ms
649
+ ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 337ms
650
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 35ms
650
651
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > redirects to /pvt/account/403 when the query fails with 401/403
651
652
  { extensions: { status: 401 } }
652
653
 
653
654
  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
654
655
  { extensions: { status: 502 } }
655
656
 
656
- ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 5ms
657
- ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 14ms
658
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 6ms
659
- ✓  node  test/utils/productJsonLd.test.ts (36 tests) 7ms
660
- ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 801ms
661
- ✓ navigates with the search term on blur  360ms
662
- ✓ navigates without a label param when the search is cleared  356ms
663
- ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 5ms
664
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 16ms
665
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 4ms
657
+ ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 6ms
658
+ ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 809ms
659
+ ✓ navigates with the search term on blur  358ms
660
+ ✓ navigates without a label param when the search is cleared  358ms
661
+ ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 23ms
662
+ ✓  node  test/utils/productJsonLd.test.ts (36 tests) 11ms
663
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 10ms
664
+ ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 7ms
665
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 24ms
666
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 6ms
666
667
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
667
668
  Set password request failed: Bad Request
668
669
 
669
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 29ms
670
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 25ms
671
- ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 4ms
672
- ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 96ms
673
- ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 114ms
674
- ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 7ms
675
- ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 86ms
670
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 35ms
671
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 36ms
672
+ ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 7ms
673
+ ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 141ms
674
+ ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 5ms
675
+ ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 151ms
676
+ ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 83ms
676
677
  ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 6ms
677
- ✓  node  test/server/cms/index.test.ts (7 tests) 6ms
678
- ✓  node  test/server/content/promiseCache.test.ts (10 tests) 10ms
679
- ✓  node  test/sdk/redirects/index.test.ts (7 tests) 34ms
680
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 31ms
681
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 39ms
682
- ✓  node  test/proxy.localization.test.ts (5 tests) 44ms
683
- ✓  node  test/utils/trustedForwardedHost.test.ts (36 tests) 5ms
684
- ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 3ms
685
- ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 12ms
678
+ ✓  node  test/server/cms/index.test.ts (7 tests) 10ms
679
+ ✓  node  test/server/content/promiseCache.test.ts (10 tests) 9ms
680
+ ✓  node  test/sdk/redirects/index.test.ts (7 tests) 26ms
681
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 40ms
682
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 35ms
683
+ ✓  node  test/proxy.localization.test.ts (5 tests) 38ms
684
+ ✓  node  test/utils/trustedForwardedHost.test.ts (36 tests) 8ms
685
+ ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 6ms
686
+ ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 17ms
686
687
  ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 4ms
687
- ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 11ms
688
- ✓  node  test/server/index.test.ts (7 tests) 767ms
689
- ✓ should handle options and execute  425ms
690
- ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 43ms
688
+ ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 13ms
689
+ ✓  node  test/server/index.test.ts (7 tests) 1059ms
690
+ ✓ should handle options and execute  636ms
691
+ ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 41ms
691
692
  ✓  node  test/proxy.test.ts (4 tests) 16ms
692
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 22ms
693
- ✓  node  test/pages/api/logout.test.ts (4 tests) 24ms
694
- ✓  node  test/utils/shouldBypassRefreshToken.test.ts (14 tests) 3ms
693
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 31ms
694
+ ✓  node  test/pages/api/logout.test.ts (4 tests) 31ms
695
+ ✓  node  test/utils/shouldBypassRefreshToken.test.ts (14 tests) 6ms
695
696
  ✓  node  test/server/webops-api.test.ts (9 tests) 12ms
696
- ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 18ms
697
- ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 3ms
698
- ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 11ms
699
- ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 6ms
700
- ✓  node  test/server/cms/global.test.ts (3 tests) 7ms
701
- ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 3ms
702
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 17ms
697
+ ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 21ms
698
+ ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 4ms
699
+ ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 7ms
700
+ ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 9ms
701
+ ✓  node  test/server/cms/global.test.ts (3 tests) 3ms
702
+ ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 10ms
703
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 28ms
703
704
  stderr | test/server/storeDirectives.test.ts > store directives through the core server > applies @auth from a store field and validates the session once
704
705
  https://storeframework.vtexcommercestable.com.br/api/vtexid/credential/validate {
705
706
  headers: { 'content-type': 'application/json', 'X-FORWARDED-HOST': '' },
@@ -707,43 +708,43 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
707
708
  method: 'POST'
708
709
  } { status: 401, statusText: 'Unauthorized', headers: {} }
709
710
 
710
- ✓  node  test/server/storeDirectives.test.ts (2 tests) 59ms
711
- ✓  node  test/server/rootSpan.test.ts (4 tests) 25ms
712
- ✓  node  test/utils/mergeDiscoveryConfig.test.ts (8 tests) 5ms
713
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 4ms
714
- ✓  node  test/pages/api/preview.test.ts (2 tests) 5ms
715
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 5ms
716
- ✓  node  test/components/account/Layout.test.tsx (6 tests) 43ms
717
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 2ms
718
- ✓  node  test/pages/pvt/account/403.test.ts (5 tests) 5ms
719
- ✓  node  test/components/region/useRegion.test.ts (1 test) 15ms
720
- ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 3ms
721
- ✓  node  test/utils/retry.test.ts (5 tests) 14ms
722
- ✓  node  test/sdk/account/getIsB2BBuyer.test.ts (7 tests) 4ms
723
- ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 2ms
724
- ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 178ms
711
+ ✓  node  test/server/storeDirectives.test.ts (2 tests) 54ms
712
+ ✓  node  test/utils/mergeDiscoveryConfig.test.ts (8 tests) 7ms
713
+ ✓  node  test/server/rootSpan.test.ts (4 tests) 28ms
714
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 5ms
715
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 10ms
716
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 6ms
717
+ ✓  node  test/components/account/Layout.test.tsx (6 tests) 50ms
718
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 4ms
719
+ ✓  node  test/pages/pvt/account/403.test.ts (5 tests) 4ms
720
+ ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 4ms
721
+ ✓  node  test/components/region/useRegion.test.ts (1 test) 16ms
722
+ ✓  node  test/utils/retry.test.ts (5 tests) 11ms
723
+ ✓  node  test/sdk/account/getIsB2BBuyer.test.ts (7 tests) 3ms
724
+ ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 186ms
725
+ ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 3ms
725
726
  ✓  node  test/utils/subDomainPrefixWarning.test.ts (6 tests) 3ms
726
- ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 2ms
727
- ✓  node  test/utils/unlockResponse.test.ts (11 tests) 3ms
728
- ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 2ms
729
- ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 31ms
730
- ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 3ms
731
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 3ms
732
- ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 30ms
727
+ ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 4ms
728
+ ✓  node  test/utils/unlockResponse.test.ts (11 tests) 4ms
729
+ ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 4ms
730
+ ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 45ms
731
+ ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 4ms
732
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 4ms
733
+ ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 33ms
733
734
  ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 3ms
734
- ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 3ms
735
- ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 3ms
736
- ✓  node  test/utils/getCookie.test.ts (4 tests) 3ms
737
- ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 2ms
738
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 22ms
739
- ✓  node  test/utils/filterChannel.test.ts (2 tests) 2ms
735
+ ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 4ms
736
+ ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 4ms
737
+ ✓  node  test/utils/getCookie.test.ts (4 tests) 4ms
738
+ ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 3ms
739
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 27ms
740
+ ✓  node  test/utils/filterChannel.test.ts (2 tests) 4ms
741
+ ✓  node  test/instrumentation.test.ts (3 tests) 5ms
740
742
  ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 3ms
741
- ✓  node  test/instrumentation.test.ts (3 tests) 3ms
742
743
  ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 2ms
743
- ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 5ms
744
+ ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 7ms
744
745
 
745
746
   Test Files  149 passed (149)
746
747
   Tests  1270 passed (1270)
747
-  Start at  20:07:27
748
-  Duration  47.41s (transform 12.23s, setup 0ms, import 43.11s, tests 18.32s, environment 55.66s)
748
+  Start at  15:53:26
749
+  Duration  56.75s (transform 15.45s, setup 0ms, import 53.08s, tests 20.98s, environment 67.55s)
749
750
 
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.11.4-dev.1](https://github.com/vtex/faststore/compare/v4.11.4-dev.0...v4.11.4-dev.1) (2026-11-16)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
6
10
  ## [4.11.4-dev.0](https://github.com/vtex/faststore/compare/v4.11.3...v4.11.4-dev.0) (2026-11-10)
7
11
 
8
12
  **Note:** Version bump only for package @faststore/core
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.11.4-dev.0",
3
+ "version": "4.11.4-dev.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,11 +70,11 @@
70
70
  "style-loader": "^3.3.1",
71
71
  "swr": "^2.2.5",
72
72
  "use-sync-external-store": "^1.6.0",
73
- "@faststore/api": "4.11.4-dev.0",
74
- "@faststore/diagnostics": "4.11.4-dev.0",
75
- "@faststore/lighthouse": "4.11.4-dev.0",
76
- "@faststore/sdk": "4.11.4-dev.0",
77
- "@faststore/ui": "4.11.4-dev.0"
73
+ "@faststore/lighthouse": "4.11.4-dev.1",
74
+ "@faststore/sdk": "4.11.4-dev.1",
75
+ "@faststore/diagnostics": "4.11.4-dev.1",
76
+ "@faststore/ui": "4.11.4-dev.1",
77
+ "@faststore/api": "4.11.4-dev.1"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@cypress/code-coverage": "^3.12.1",