#623 line issue test cases changes

master
agriyadev5 2021-08-30 13:00:29 +05:30
parent bf7e7237a8
commit 7b6aab13b4
2 changed files with 12 additions and 12 deletions

View File

@ -488,7 +488,7 @@ exports[`use all parts of svg-edit > check tool_line_change_stroke_width #0`] =
</svg>
`;
exports[`use all parts of svg-edit > check tool_line_align_to_page #0`] = `
exports[`use all parts of svg-edit > check tool_line_change_stoke_color #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
@ -504,7 +504,7 @@ exports[`use all parts of svg-edit > check tool_line_align_to_page #0`] = `
<title style="pointer-events:inherit">Layer 1</title>
<line
fill="none"
stroke="#000000"
stroke="#bf5f00"
stroke-width="5"
opacity="0.25"
x1="220"
@ -546,7 +546,7 @@ exports[`use all parts of svg-edit > check tool_line_align_to_page #0`] = `
</svg>
`;
exports[`use all parts of svg-edit > check tool_line_change_stoke_color #0`] = `
exports[`use all parts of svg-edit > check tool_line_align_to_page #0`] = `
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
@ -565,9 +565,9 @@ exports[`use all parts of svg-edit > check tool_line_change_stoke_color #0`] = `
stroke="#bf5f00"
stroke-width="5"
opacity="0.25"
x1="387.5"
x1="220"
y1="220"
x2="637.5"
x2="470"
y2="470"
fill-opacity="1"
stroke-opacity="1"

View File

@ -132,13 +132,6 @@ describe('use all parts of svg-edit', function () {
}
cy.get('#svgcontent').toMatchSnapshot();
});
it('check tool_line_align_to_page', function () {
cy.get('#svg_3').click({ force: true });
cy.get('#tool_position').shadow().find('elix-dropdown-list').eq(0).invoke('attr', 'opened', 'opened');
cy.get('#tool_position').find('se-list-item').eq(2).shadow().find('elix-option').eq(0)
.click({ force: true });
cy.get('#svgcontent').toMatchSnapshot();
});
it('check tool_line_change_stoke_color', function () {
cy.get('#svg_3').click({ force: true });
cy.get('#stroke_color').shadow().find('#picker').eq(0).click({ force: true });
@ -150,4 +143,11 @@ describe('use all parts of svg-edit', function () {
.find('#Ok').eq(0).click({ force: true });
cy.get('#svgcontent').toMatchSnapshot();
});
it('check tool_line_align_to_page', function () {
cy.get('#svg_3').click({ force: true });
cy.get('#tool_position').shadow().find('elix-dropdown-list').eq(0).invoke('attr', 'opened', 'opened');
cy.get('#tool_position').find('se-list-item').eq(2).shadow().find('elix-option').eq(0)
.click({ force: true });
cy.get('#svgcontent').toMatchSnapshot();
});
});