mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 04:03:51 +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
|
// Close Plot configurator
|
||||||
await page.getByRole('button', { name: 'Plot configurator' }).click();
|
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
|
// 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