///
import { mount } from 'cypress-react-unit-test';
import React from 'react';
import LinearProgressBar from '../../src/components/ProgressBar/LinearProgressBar';
describe('Linear Progressbar Testing', () => {
it('Progressbar stroke for value 3', () => {
mount();
cy.get('.rc-progress-line-path').should(
'have.css',
'stroke-dasharray',
'20px, 100px'
);
});
it('Progressbar stroke for value 8', () => {
mount();
cy.get('.rc-progress-line-path').should(
'have.css',
'stroke-dasharray',
'80px, 100px'
);
});
it('Progressbar stroke for value 6', () => {
mount();
cy.get('.rc-progress-line-path').should(
'have.css',
'stroke-dasharray',
'60px, 100px'
);
});
it('Progressbar stroke if default', () => {
mount();
cy.get('.rc-progress-line-path').should(
'have.css',
'stroke-dasharray',
'80px, 100px'
);
});
});