@@ -20,7 +20,7 @@ describe('Differencify', () => {
2020 . toMatchSnapshot ( )
2121 . close ( )
2222 . end ( ) ;
23- } , 20000 ) ;
23+ } , 30000 ) ;
2424 it ( 'simple unchained' , async ( ) => {
2525 const target = differencify . init ( { chain : false } ) ;
2626 const page = await target . newPage ( ) ;
@@ -31,7 +31,7 @@ describe('Differencify', () => {
3131 const result = await target . toMatchSnapshot ( image ) ;
3232 await page . close ( ) ;
3333 expect ( result ) . toEqual ( true ) ;
34- } , 20000 ) ;
34+ } , 30000 ) ;
3535 it ( 'Launch new browser per test' , async ( ) => {
3636 await differencify
3737 . init ( )
@@ -44,7 +44,7 @@ describe('Differencify', () => {
4444 . toMatchSnapshot ( )
4545 . close ( )
4646 . end ( ) ;
47- } , 20000 ) ;
47+ } , 30000 ) ;
4848 it ( 'Launch new browser per test when unchained' , async ( ) => {
4949 const target = differencify . init ( { chain : false } ) ;
5050 await target . launch ( { args : [ '--no-sandbox' , '--disable-setuid-sandbox' ] } ) ;
@@ -57,7 +57,7 @@ describe('Differencify', () => {
5757 await page . close ( ) ;
5858 await target . close ( ) ;
5959 expect ( result ) . toEqual ( true ) ;
60- } , 20000 ) ;
60+ } , 30000 ) ;
6161 it ( 'Using result function' , async ( ) => {
6262 await differencify
6363 . init ( )
@@ -73,7 +73,7 @@ describe('Differencify', () => {
7373 . toMatchSnapshot ( )
7474 . close ( )
7575 . end ( ) ;
76- } , 20000 ) ;
76+ } , 30000 ) ;
7777 it ( 'Context switching when chained' , async ( ) => {
7878 await differencify
7979 . init ( )
@@ -93,7 +93,7 @@ describe('Differencify', () => {
9393 . toMatchSnapshot ( )
9494 . close ( )
9595 . end ( ) ;
96- } , 20000 ) ;
96+ } , 30000 ) ;
9797 it ( 'Calling Puppeteer specific functions when chained: console' , async ( ) => {
9898 await differencify
9999 . init ( )
@@ -106,7 +106,7 @@ describe('Differencify', () => {
106106 . evaluate ( ( ) => console . log ( 'hello' ) )
107107 . close ( )
108108 . end ( ) ;
109- } , 20000 ) ;
109+ } , 30000 ) ;
110110 it ( 'Calling Puppeteer specific functions when chained: dialog' , async ( ) => {
111111 await differencify
112112 . init ( )
@@ -118,7 +118,7 @@ describe('Differencify', () => {
118118 . evaluate ( ( ) => alert ( '1' ) )
119119 . close ( )
120120 . end ( ) ;
121- } , 20000 ) ;
121+ } , 30000 ) ;
122122 it ( 'Continue on chained object' , async ( ) => {
123123 await differencify
124124 . init ( )
@@ -132,7 +132,7 @@ describe('Differencify', () => {
132132 } )
133133 . close ( )
134134 . end ( ) ;
135- } , 20000 ) ;
135+ } , 30000 ) ;
136136 it ( 'Multiple toMatchSnapshot on chained object' , async ( ) => {
137137 await differencify
138138 . init ( )
@@ -153,7 +153,7 @@ describe('Differencify', () => {
153153 } )
154154 . close ( )
155155 . end ( ) ;
156- } , 20000 ) ;
156+ } , 30000 ) ;
157157 it ( 'Multiple toMatchSnapshot when unchained' , async ( ) => {
158158 const target = differencify . init ( { chain : false } ) ;
159159 const page = await target . newPage ( ) ;
@@ -170,7 +170,7 @@ describe('Differencify', () => {
170170 await page . close ( ) ;
171171 expect ( result ) . toEqual ( true ) ;
172172 expect ( result2 ) . toEqual ( true ) ;
173- } , 20000 ) ;
173+ } , 30000 ) ;
174174 it ( 'Custom test name' , async ( ) => {
175175 const target = differencify . init ( {
176176 testName : 'test1' ,
@@ -184,7 +184,7 @@ describe('Differencify', () => {
184184 const result = await target . toMatchSnapshot ( image ) ;
185185 await page . close ( ) ;
186186 expect ( result ) . toEqual ( true ) ;
187- } , 20000 ) ;
187+ } , 30000 ) ;
188188 it ( 'Custom test path' , async ( ) => {
189189 const customDifferencify = new Differencify ( {
190190 imageSnapshotPath : './src/integration.tests/__image_snapshots__/custom_test_path' ,
@@ -203,5 +203,5 @@ describe('Differencify', () => {
203203 await page . close ( ) ;
204204 await customDifferencify . cleanup ( ) ;
205205 expect ( result ) . toEqual ( true ) ;
206- } , 20000 ) ;
206+ } , 30000 ) ;
207207} ) ;
0 commit comments