@@ -187,7 +187,7 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
187187
188188 const image = await takeScreenshot ( ) ;
189189
190- compareSnapshot ( image , 'profile' , { threshold : 0.03 } ) ;
190+ compareSnapshot ( image , 'profile' , { threshold : 0.04 } ) ;
191191
192192 // TODO: fix false positive screenshot failure and uncomment
193193 // await switchTheme();
@@ -226,7 +226,7 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
226226 await page . waitForTimeout ( 3000 ) ;
227227 const image = await takeScreenshot ( ) ;
228228
229- compareSnapshot ( image , 'toggle' , { threshold : 0.03 } ) ;
229+ compareSnapshot ( image , 'toggle' , { threshold : 0.04 } ) ;
230230 } ) ;
231231
232232 it ( 'User panel' , async ( ) => {
@@ -244,7 +244,7 @@ module.exports = (env, { port = 8080, urls = {} } = {}) => {
244244 }
245245 } ) ;
246246
247- compareSnapshot ( image , 'user-panel' , { threshold : 0.03 } ) ;
247+ compareSnapshot ( image , 'user-panel' , { threshold : 0.04 } ) ;
248248 } ) ;
249249
250250 it ( 'Login page' , async ( ) => {
0 commit comments