mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 02:11:57 +00:00
chore: increase screenshot threshold
This commit is contained in:
parent
a5c21d2443
commit
85d5402f78
|
@ -60,7 +60,9 @@ test.describe('Chart', () => {
|
|||
// Close Plot configurator
|
||||
await page.getByRole('button', { name: 'Plot configurator' }).click();
|
||||
|
||||
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,
|
||||
});
|
||||
// Should assert if indicators have been set
|
||||
// but it's a canvas ...
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user