#623 line issue test cases changes
This commit is contained in:
@@ -488,7 +488,7 @@ exports[`use all parts of svg-edit > check tool_line_change_stroke_width #0`] =
|
|||||||
</svg>
|
</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
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
xmlns:svg="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>
|
<title style="pointer-events:inherit">Layer 1</title>
|
||||||
<line
|
<line
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="#000000"
|
stroke="#bf5f00"
|
||||||
stroke-width="5"
|
stroke-width="5"
|
||||||
opacity="0.25"
|
opacity="0.25"
|
||||||
x1="220"
|
x1="220"
|
||||||
@@ -546,7 +546,7 @@ exports[`use all parts of svg-edit > check tool_line_align_to_page #0`] = `
|
|||||||
</svg>
|
</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
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
xmlns:svg="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="#bf5f00"
|
||||||
stroke-width="5"
|
stroke-width="5"
|
||||||
opacity="0.25"
|
opacity="0.25"
|
||||||
x1="387.5"
|
x1="220"
|
||||||
y1="220"
|
y1="220"
|
||||||
x2="637.5"
|
x2="470"
|
||||||
y2="470"
|
y2="470"
|
||||||
fill-opacity="1"
|
fill-opacity="1"
|
||||||
stroke-opacity="1"
|
stroke-opacity="1"
|
||||||
|
|||||||
@@ -132,13 +132,6 @@ describe('use all parts of svg-edit', function () {
|
|||||||
}
|
}
|
||||||
cy.get('#svgcontent').toMatchSnapshot();
|
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 () {
|
it('check tool_line_change_stoke_color', function () {
|
||||||
cy.get('#svg_3').click({ force: true });
|
cy.get('#svg_3').click({ force: true });
|
||||||
cy.get('#stroke_color').shadow().find('#picker').eq(0).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 });
|
.find('#Ok').eq(0).click({ force: true });
|
||||||
cy.get('#svgcontent').toMatchSnapshot();
|
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();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user