mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 23:53:52 +00:00
Allow slight pixel deviation
This commit is contained in:
parent
85d5402f78
commit
c5d3d0ee5f
|
@ -62,6 +62,7 @@ test.describe('Chart', () => {
|
||||||
|
|
||||||
await expect(page.locator('canvas')).toHaveScreenshot('Chart-Plot-with_BollingerBands.png', {
|
await expect(page.locator('canvas')).toHaveScreenshot('Chart-Plot-with_BollingerBands.png', {
|
||||||
threshold: 0.15,
|
threshold: 0.15,
|
||||||
|
maxDiffPixelRatio: 0.15,
|
||||||
});
|
});
|
||||||
// Should assert if indicators have been set
|
// Should assert if indicators have been set
|
||||||
// but it's a canvas ...
|
// but it's a canvas ...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user