mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	test(dark-mode): updated snapshots changed because of ThemeToggleProvider
This commit is contained in:
		
							parent
							
								
									af664c1dbe
								
							
						
					
					
						commit
						b93ad2524e
					
				| @ -52,63 +52,6 @@ describe('CONTENT MANAGER | EditView | Header', () => { | ||||
|     } = render(makeApp()); | ||||
| 
 | ||||
|     expect(firstChild).toMatchInlineSnapshot(` | ||||
|       .c0 { | ||||
|         background: #f6f6f9; | ||||
|         padding-top: 24px; | ||||
|         padding-right: 56px; | ||||
|         padding-bottom: 40px; | ||||
|         padding-left: 56px; | ||||
|       } | ||||
| 
 | ||||
|       .c1 { | ||||
|         padding-bottom: 8px; | ||||
|       } | ||||
| 
 | ||||
|       .c6 { | ||||
|         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: justify; | ||||
|         -webkit-justify-content: space-between; | ||||
|         -ms-flex-pack: justify; | ||||
|         justify-content: space-between; | ||||
|         -webkit-align-items: center; | ||||
|         -webkit-box-align: center; | ||||
|         -ms-flex-align: center; | ||||
|         align-items: center; | ||||
|       } | ||||
| 
 | ||||
|       .c7 { | ||||
|         display: -webkit-box; | ||||
|         display: -webkit-flex; | ||||
|         display: -ms-flexbox; | ||||
|         display: flex; | ||||
|         -webkit-flex-direction: row; | ||||
|         -ms-flex-direction: row; | ||||
|         flex-direction: row; | ||||
|         -webkit-align-items: center; | ||||
|         -webkit-box-align: center; | ||||
|         -ms-flex-align: center; | ||||
|         align-items: center; | ||||
|       } | ||||
| 
 | ||||
|       .c8 { | ||||
|         color: #32324d; | ||||
|         font-weight: 600; | ||||
|         font-size: 2rem; | ||||
|         line-height: 1.25; | ||||
|       } | ||||
| 
 | ||||
|       .c15 { | ||||
|         color: #666687; | ||||
|         font-size: 1rem; | ||||
|         line-height: 1.5; | ||||
|       } | ||||
| 
 | ||||
|       .c14 { | ||||
|         font-weight: 600; | ||||
|         color: #32324d; | ||||
| @ -186,7 +129,7 @@ describe('CONTENT MANAGER | EditView | Header', () => { | ||||
|         background: #4945ff; | ||||
|       } | ||||
| 
 | ||||
|       .c12 .sc-egiyK { | ||||
|       .c12 .sc-fTQvRK { | ||||
|         display: -webkit-box; | ||||
|         display: -webkit-flex; | ||||
|         display: -ms-flexbox; | ||||
| @ -239,6 +182,86 @@ describe('CONTENT MANAGER | EditView | Header', () => { | ||||
|         background: #4945ff; | ||||
|       } | ||||
| 
 | ||||
|       .c9 { | ||||
|         display: -webkit-box; | ||||
|         display: -webkit-flex; | ||||
|         display: -ms-flexbox; | ||||
|         display: flex; | ||||
|         -webkit-flex-direction: row; | ||||
|         -ms-flex-direction: row; | ||||
|         flex-direction: row; | ||||
|         -webkit-align-items: center; | ||||
|         -webkit-box-align: center; | ||||
|         -ms-flex-align: center; | ||||
|         align-items: center; | ||||
|       } | ||||
| 
 | ||||
|       .c10 > * { | ||||
|         margin-left: 0; | ||||
|         margin-right: 0; | ||||
|       } | ||||
| 
 | ||||
|       .c10 > * + * { | ||||
|         margin-left: 8px; | ||||
|       } | ||||
| 
 | ||||
|       .c0 { | ||||
|         background: #f6f6f9; | ||||
|         padding-top: 24px; | ||||
|         padding-right: 56px; | ||||
|         padding-bottom: 40px; | ||||
|         padding-left: 56px; | ||||
|       } | ||||
| 
 | ||||
|       .c1 { | ||||
|         padding-bottom: 8px; | ||||
|       } | ||||
| 
 | ||||
|       .c6 { | ||||
|         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: justify; | ||||
|         -webkit-justify-content: space-between; | ||||
|         -ms-flex-pack: justify; | ||||
|         justify-content: space-between; | ||||
|         -webkit-align-items: center; | ||||
|         -webkit-box-align: center; | ||||
|         -ms-flex-align: center; | ||||
|         align-items: center; | ||||
|       } | ||||
| 
 | ||||
|       .c7 { | ||||
|         display: -webkit-box; | ||||
|         display: -webkit-flex; | ||||
|         display: -ms-flexbox; | ||||
|         display: flex; | ||||
|         -webkit-flex-direction: row; | ||||
|         -ms-flex-direction: row; | ||||
|         flex-direction: row; | ||||
|         -webkit-align-items: center; | ||||
|         -webkit-box-align: center; | ||||
|         -ms-flex-align: center; | ||||
|         align-items: center; | ||||
|       } | ||||
| 
 | ||||
|       .c8 { | ||||
|         color: #32324d; | ||||
|         font-weight: 600; | ||||
|         font-size: 2rem; | ||||
|         line-height: 1.25; | ||||
|       } | ||||
| 
 | ||||
|       .c15 { | ||||
|         color: #666687; | ||||
|         font-size: 1rem; | ||||
|         line-height: 1.5; | ||||
|       } | ||||
| 
 | ||||
|       .c5 { | ||||
|         color: #4945ff; | ||||
|         font-size: 0.75rem; | ||||
| @ -309,29 +332,6 @@ describe('CONTENT MANAGER | EditView | Header', () => { | ||||
|         display: flex; | ||||
|       } | ||||
| 
 | ||||
|       .c9 { | ||||
|         display: -webkit-box; | ||||
|         display: -webkit-flex; | ||||
|         display: -ms-flexbox; | ||||
|         display: flex; | ||||
|         -webkit-flex-direction: row; | ||||
|         -ms-flex-direction: row; | ||||
|         flex-direction: row; | ||||
|         -webkit-align-items: center; | ||||
|         -webkit-box-align: center; | ||||
|         -ms-flex-align: center; | ||||
|         align-items: center; | ||||
|       } | ||||
| 
 | ||||
|       .c10 > * { | ||||
|         margin-left: 0; | ||||
|         margin-right: 0; | ||||
|       } | ||||
| 
 | ||||
|       .c10 > * + * { | ||||
|         margin-left: 8px; | ||||
|       } | ||||
| 
 | ||||
|       <div | ||||
|         style="height: 0px;" | ||||
|       > | ||||
|  | ||||
| @ -104,7 +104,7 @@ exports[`<EditPage /> renders and matches the snapshot 1`] = ` | ||||
|   background: #4945ff; | ||||
| } | ||||
| 
 | ||||
| .c13 .sc-eCImPb { | ||||
| .c13 .sc-fTQvRK { | ||||
|   display: -webkit-box; | ||||
|   display: -webkit-flex; | ||||
|   display: -ms-flexbox; | ||||
| @ -169,7 +169,7 @@ exports[`<EditPage /> renders and matches the snapshot 1`] = ` | ||||
|   background: #f0f0ff; | ||||
| } | ||||
| 
 | ||||
| .c24 .sc-eCImPb { | ||||
| .c24 .sc-fTQvRK { | ||||
|   display: -webkit-box; | ||||
|   display: -webkit-flex; | ||||
|   display: -ms-flexbox; | ||||
|  | ||||
| @ -466,7 +466,7 @@ exports[`DynamicTable renders and matches the snapshot 1`] = ` | ||||
|       </div> | ||||
|       <nav | ||||
|         aria-label="pagination" | ||||
|         class="sc-fHeRUh" | ||||
|         class="sc-jwQYvw" | ||||
|       > | ||||
|         <ul | ||||
|           class="c16 c17" | ||||
|  | ||||
| @ -97,7 +97,7 @@ exports[`<CreatePage /> renders and matches the snapshot 1`] = ` | ||||
|   background: #f0f0ff; | ||||
| } | ||||
| 
 | ||||
| .c13 .sc-eCImPb { | ||||
| .c13 .sc-fTQvRK { | ||||
|   display: -webkit-box; | ||||
|   display: -webkit-flex; | ||||
|   display: -ms-flexbox; | ||||
| @ -179,7 +179,7 @@ exports[`<CreatePage /> renders and matches the snapshot 1`] = ` | ||||
|   background: #4945ff; | ||||
| } | ||||
| 
 | ||||
| .c16 .sc-eCImPb { | ||||
| .c16 .sc-fTQvRK { | ||||
|   display: -webkit-box; | ||||
|   display: -webkit-flex; | ||||
|   display: -ms-flexbox; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 vincentbpro
						vincentbpro