update snapshots

Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
soupette 2021-09-13 07:23:54 +02:00
parent 2a5d4938c5
commit 25a3ea9081
6 changed files with 155 additions and 154 deletions

View File

@ -103,19 +103,6 @@ describe('Content manager | App | main', () => {
expect(screen.getByText('Categories')).toBeVisible();
expect(history.location.pathname).toEqual('/content-manager/collectionType/category');
expect(container.firstChild).toMatchInlineSnapshot(`
.c30 {
padding-bottom: 56px;
}
.c0 {
display: grid;
grid-template-columns: auto 1fr;
}
.c31 {
overflow-x: hidden;
}
.c34 {
border: 0;
-webkit-clip: rect(0 0 0 0);
@ -155,6 +142,19 @@ describe('Content manager | App | main', () => {
height: 100vh;
}
.c30 {
padding-bottom: 56px;
}
.c0 {
display: grid;
grid-template-columns: auto 1fr;
}
.c31 {
overflow-x: hidden;
}
.c2 {
padding-top: 24px;
padding-right: 16px;

View File

@ -69,6 +69,10 @@ describe('<NoPermissions />', () => {
height: 5.5rem;
}
.c0 {
outline: none;
}
.c1 {
background: #f6f6f9;
padding-top: 56px;
@ -133,10 +137,6 @@ describe('<NoPermissions />', () => {
line-height: 1.5;
}
.c0 {
outline: none;
}
<main
aria-labelledby="title"
class="c0"

View File

@ -139,19 +139,6 @@ describe('Homepage', () => {
background: #4945ff;
}
.c1 {
padding-bottom: 56px;
}
.c0 {
display: grid;
grid-template-columns: 1fr;
}
.c2 {
overflow-x: hidden;
}
.c24 {
background: #ffffff;
padding: 24px;
@ -296,6 +283,19 @@ describe('Homepage', () => {
height: 2rem;
}
.c1 {
padding-bottom: 56px;
}
.c0 {
display: grid;
grid-template-columns: 1fr;
}
.c2 {
overflow-x: hidden;
}
.c3 {
outline: none;
}
@ -628,7 +628,8 @@ describe('Homepage', () => {
class="c4"
>
<img
alt="Strapi logo"
alt=""
aria-hidden="true"
src="IMAGE_MOCK"
/>
</div>

View File

@ -32,6 +32,51 @@ describe('Application page', () => {
} = render(App);
expect(firstChild).toMatchInlineSnapshot(`
.c12 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.c12 > * {
margin-top: 0;
margin-bottom: 0;
}
.c12 > * + * {
margin-top: 20px;
}
.c13 {
font-weight: 500;
font-size: 1rem;
line-height: 1.25;
color: #32324d;
}
.c17 {
font-weight: 400;
font-size: 0.875rem;
line-height: 1.43;
color: #32324d;
}
.c18 {
font-weight: 600;
line-height: 1.14;
}
.c19 {
font-weight: 600;
font-size: 0.6875rem;
line-height: 1.45;
text-transform: uppercase;
}
.c1 {
padding-bottom: 56px;
}
@ -109,51 +154,6 @@ describe('Application page', () => {
line-height: 1.5;
}
.c12 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.c12 > * {
margin-top: 0;
margin-bottom: 0;
}
.c12 > * + * {
margin-top: 20px;
}
.c13 {
font-weight: 500;
font-size: 1rem;
line-height: 1.25;
color: #32324d;
}
.c17 {
font-weight: 400;
font-size: 0.875rem;
line-height: 1.43;
color: #32324d;
}
.c18 {
font-weight: 600;
line-height: 1.14;
}
.c19 {
font-weight: 600;
font-size: 0.6875rem;
line-height: 1.45;
text-transform: uppercase;
}
.c3 {
outline: none;
}

View File

@ -49,6 +49,45 @@ describe('Admin | containers | ListView', () => {
} = render(App);
expect(firstChild).toMatchInlineSnapshot(`
.c14 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.c15 {
-webkit-animation: gzYjWD 1s infinite linear;
animation: gzYjWD 1s infinite linear;
}
.c12 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: space-around;
-webkit-justify-content: space-around;
-ms-flex-pack: space-around;
justify-content: space-around;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c13 {
height: 100vh;
}
.c1 {
padding-bottom: 56px;
}
@ -126,45 +165,6 @@ describe('Admin | containers | ListView', () => {
line-height: 1.5;
}
.c14 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.c15 {
-webkit-animation: gzYjWD 1s infinite linear;
animation: gzYjWD 1s infinite linear;
}
.c12 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: space-around;
-webkit-justify-content: space-around;
-ms-flex-pack: space-around;
justify-content: space-around;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c13 {
height: 100vh;
}
.c3 {
outline: none;
}

View File

@ -55,6 +55,45 @@ describe('Admin | containers | ProvidersPage', () => {
} = render(App);
expect(firstChild).toMatchInlineSnapshot(`
.c12 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.c13 {
-webkit-animation: gzYjWD 1s infinite linear;
animation: gzYjWD 1s infinite linear;
}
.c10 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: space-around;
-webkit-justify-content: space-around;
-ms-flex-pack: space-around;
justify-content: space-around;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c11 {
height: 100vh;
}
.c1 {
padding-bottom: 56px;
}
@ -127,45 +166,6 @@ describe('Admin | containers | ProvidersPage', () => {
line-height: 1.5;
}
.c12 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.c13 {
-webkit-animation: gzYjWD 1s infinite linear;
animation: gzYjWD 1s infinite linear;
}
.c10 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: space-around;
-webkit-justify-content: space-around;
-ms-flex-pack: space-around;
justify-content: space-around;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.c11 {
height: 100vh;
}
.c3 {
outline: none;
}