update to cypress 10

Signed-off-by: MALIN WIDÈN <malwi130@student.liu.se>
This commit is contained in:
MALIN WIDÈN
2022-12-07 14:18:41 +01:00
committed by Fredrik Adelöw
parent 7e9536ada8
commit f08ee791f3
3 changed files with 50 additions and 1 deletions
+16
View File
@@ -21,9 +21,25 @@ module.exports = defineConfig({
setupNodeEvents(on, config) {
initPlugin(on, config);
},
<<<<<<< HEAD
excludeSpecPattern: ['**/__snapshots__/*', '**/__image_snapshots__/*'],
},
=======
},
excludeSpecPattern: ['**/__snapshots__/*', '**/__image_snapshots__/*'],
env: {
mkDocsBaseUrl: 'http://localhost:8000',
backstageBaseUrl: 'http://localhost:3000',
'cypress-plugin-snapshots': {
autoCleanUp: false,
imageConfig: {
resizeDevicePixelRatio: true,
threshold: 0.01,
},
},
},
>>>>>>> 533a1a2db2 (update to cypress 10)
viewportWidth: 1920,
viewportHeight: 1080,
includeShadowDom: true,