Skip to content

Commit 9f0db1e

Browse files
authored
Merge pull request #2771 from nextcloud/backport/2765/stable29
[stable29] fix(cypress): define visual regression threshold to 0.01
2 parents 0a91914 + 23c6fe4 commit 9f0db1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cypress/support/commands.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ import { basename } from 'path'
2626
import axios from '@nextcloud/axios'
2727

2828
addCommands()
29-
addCompareSnapshotCommand()
29+
addCompareSnapshotCommand({
30+
errorThreshold: 0.01,
31+
})
3032

3133
const url = Cypress.config('baseUrl').replace(/\/index.php\/?$/g, '')
3234
Cypress.env('baseUrl', url)

0 commit comments

Comments
 (0)