#2824 Updated regressionstest afters diagram sizing changes

This commit is contained in:
Knut Sveidqvist
2022-08-28 11:39:22 +02:00
parent e6e7bdcb55
commit 080bde0bc2
4 changed files with 10 additions and 10 deletions

View File

@@ -68,9 +68,9 @@ describe('Pie Chart', () => {
{ pie: { useMaxWidth: false } }
);
cy.get('svg').should((svg) => {
const height = parseFloat(svg.attr('height'));
// const height = parseFloat(svg.attr('height'));
const width = parseFloat(svg.attr('width'));
expect(height).to.eq(450);
// expect(height).to.eq(450);
expect(width).to.eq(984);
expect(svg).to.not.have.attr('style');
});