Skip to content

Commit

Permalink
test: enable pattern
Browse files Browse the repository at this point in the history
When visually testing the dashboard charts, we want the visual comparison to compare the general patterns of charts rather then expecting the exact same structure

https://help.applitools.com/hc/en-us/articles/4408368066957-useDom-and-enablePatterns-Flags
  • Loading branch information
NoamGaash committed Jun 5, 2024
1 parent 33473c7 commit b83eef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/visual.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test.describe('Visual Tests', () => {
} else {
eyes.setBatch(username() + ' is testing openbus ' + new Date().toLocaleString().split(',')[0])
}
eyes.getConfiguration().setUseDom(true)
eyes.getConfiguration().setUseDom(true).setEnablePatterns(true)
eyes.setParentBranchName('main')
eyes.setBranchName((await getBranch()) || 'main')
})
Expand Down

0 comments on commit b83eef9

Please sign in to comment.