From 5f3024d0b42791793f0a8c4695b4677191db7b4d Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Fri, 17 Jan 2020 15:52:50 +0100 Subject: [PATCH] Update snapshots --- .../__snapshots__/filters.test.ts.snap | 13 +- .../__snapshots__/Stories.test.ts.snap | 396 ++++++++++++++---- 2 files changed, 322 insertions(+), 87 deletions(-) diff --git a/src/products/views/ProductList/__snapshots__/filters.test.ts.snap b/src/products/views/ProductList/__snapshots__/filters.test.ts.snap index 07f2f3bab..556446614 100644 --- a/src/products/views/ProductList/__snapshots__/filters.test.ts.snap +++ b/src/products/views/ProductList/__snapshots__/filters.test.ts.snap @@ -2,6 +2,14 @@ exports[`Filtering URL params should not be empty if active filters are present 1`] = ` Object { + "attributes": Object { + "size": Array [ + Array [ + "xs", + "m", + ], + ], + }, "categories": Array [ "878752", ], @@ -10,9 +18,12 @@ Object { ], "priceFrom": "10", "priceTo": "20", + "productTypes": Array [ + "UHJvZHVjdFR5cGU6MQ==", + ], "status": "published", "stockStatus": "IN_STOCK", } `; -exports[`Filtering URL params should not be empty if active filters are present 2`] = `"status=published&stockStatus=IN_STOCK&priceFrom=10&priceTo=20&categories%5B0%5D=878752&collections%5B0%5D=Q29sbGVjdGlvbjoc"`; +exports[`Filtering URL params should not be empty if active filters are present 2`] = `"status=published&stockStatus=IN_STOCK&priceFrom=10&priceTo=20&categories%5B0%5D=878752&collections%5B0%5D=Q29sbGVjdGlvbjoc&productTypes%5B0%5D=UHJvZHVjdFR5cGU6MQ%3D%3D&attributes%5Bsize%5D%5B0%5D%5B0%5D=xs&attributes%5Bsize%5D%5B0%5D%5B1%5D=m"`; diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index 2871c1ac9..d72da75a6 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -1671,55 +1671,167 @@ exports[`Storyshots Generics / Filter default 1`] = ` class="FilterContent-filterSettings-id" >
-
@@ -2017,55 +2129,167 @@ exports[`Storyshots Generics / Filter interactive 1`] = ` class="FilterContent-filterSettings-id" >
-