Skip to content

Commit

Permalink
PWA-3307::[Cloud] Language translating giving errors (#4301)
Browse files Browse the repository at this point in the history
* PWA-3307::[Cloud] Language translating giving errors

* PWA-3307::[Cloud] Language translating giving errors

* PWA-3307::[Cloud] Language translating giving errors

* PWA-3307::[Cloud] Language translating giving errors
  • Loading branch information
glo82145 authored Jul 31, 2024
1 parent 65f1beb commit 52d8145
Show file tree
Hide file tree
Showing 2 changed files with 120 additions and 94 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`filter button/modal does not render if there are no filters 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -19,7 +19,9 @@ Array [
<div
className="categoryTitle"
>
Name
<div>
Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -94,16 +96,16 @@ Array [
</div>
</div>
</div>
</article>,
]
</article>
</div>
`;

exports[`filter button/modal renders when there are filters 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -117,7 +119,9 @@ Array [
<div
className="categoryTitle"
>
Name
<div>
Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -206,16 +210,16 @@ Array [
/>
</div>
</div>
</article>,
]
</article>
</div>
`;

exports[`filter sidebar does not render if not in viewport 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -229,7 +233,9 @@ Array [
<div
className="categoryTitle"
>
Name
<div>
Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -318,16 +324,16 @@ Array [
/>
</div>
</div>
</article>,
]
</article>
</div>
`;

exports[`filter sidebar renders when in viewport 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -341,7 +347,9 @@ Array [
<div
className="categoryTitle"
>
Name
<div>
Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -438,16 +446,16 @@ Array [
/>
</div>
</div>
</article>,
]
</article>
</div>
`;

exports[`renders empty page 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -461,7 +469,9 @@ Array [
<div
className="categoryTitle"
>
Empty Name
<div>
Empty Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -489,16 +499,16 @@ Array [
/>
</div>
</div>
</article>,
]
</article>
</div>
`;

exports[`renders loading indicator if no data and loading 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -512,7 +522,9 @@ Array [
<div
className="categoryTitle"
>
Name
<div>
Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -558,16 +570,16 @@ Array [
/>
</div>
</div>
</article>,
]
</article>
</div>
`;

exports[`renders the correct tree 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -581,7 +593,9 @@ Array [
<div
className="categoryTitle"
>
Name
<div>
Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -656,16 +670,16 @@ Array [
</div>
</div>
</div>
</article>,
]
</article>
</div>
`;

exports[`sort button/container does not render if there are no products 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -679,7 +693,9 @@ Array [
<div
className="categoryTitle"
>
Name
<div>
Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -707,16 +723,16 @@ Array [
/>
</div>
</div>
</article>,
]
</article>
</div>
`;

exports[`sort button/container renders when there are products 1`] = `
Array [
<div>
<Breadcrumbs
categoryId={42}
/>,
"Title",
/>
Title
<article
className="root"
>
Expand All @@ -730,7 +746,9 @@ Array [
<div
className="categoryTitle"
>
Name
<div>
Name
</div>
</div>
</h1>
</div>
Expand Down Expand Up @@ -805,6 +823,6 @@ Array [
</div>
</div>
</div>
</article>,
]
</article>
</div>
`;
Loading

0 comments on commit 52d8145

Please sign in to comment.