#623 unwanted things removed
parent
347cabddfd
commit
47536f27d0
|
@ -524,87 +524,6 @@ exports[`use all parts of svg-edit > check tool_polygon_change_stroke_width #0`]
|
|||
</svg>
|
||||
`;
|
||||
|
||||
exports[`use all parts of svg-edit > check tool_polygon_change_stroke_style #0`] = `
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
width="640"
|
||||
height="480"
|
||||
id="svgcontent"
|
||||
overflow="visible"
|
||||
x="640"
|
||||
y="480"
|
||||
viewBox="0 0 640 480"
|
||||
>
|
||||
<g class="layer" style="pointer-events:all">
|
||||
<title style="pointer-events:inherit">Layer 1</title>
|
||||
<polygon
|
||||
cx="325"
|
||||
cy="250"
|
||||
id="svg_1"
|
||||
shape="regularPoly"
|
||||
sides="5"
|
||||
orient="x"
|
||||
edge="63.333333333333336"
|
||||
fill="#FF0000"
|
||||
strokecolor="#000000"
|
||||
strokeWidth="5"
|
||||
points="378.87455119562924,250 341.6481518837726,301.23774297708 281.41457251841285,281.6666666666667 281.4145725184128,218.33333333333334 341.6481518837726,198.76225702291998 378.87455119562924,250 "
|
||||
stroke="#000000"
|
||||
stroke-width="15"
|
||||
fill-opacity="1"
|
||||
stroke-opacity="1"
|
||||
></polygon>
|
||||
</g>
|
||||
<defs>
|
||||
<filter id="svg_2_id_blur" x="-50%" y="-50%" width="200%" height="200%">
|
||||
<feGaussianBlur in="SourceGraphic" stdDeviation="5"></feGaussianBlur>
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
||||
`;
|
||||
|
||||
exports[`use all parts of svg-edit > check tool_polygon_change_line_cap #0`] = `
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
width="640"
|
||||
height="480"
|
||||
id="svgcontent"
|
||||
overflow="visible"
|
||||
x="640"
|
||||
y="480"
|
||||
viewBox="0 0 640 480"
|
||||
>
|
||||
<g class="layer" style="pointer-events:all">
|
||||
<title style="pointer-events:inherit">Layer 1</title>
|
||||
<polygon
|
||||
cx="325"
|
||||
cy="250"
|
||||
id="svg_1"
|
||||
shape="regularPoly"
|
||||
sides="5"
|
||||
orient="x"
|
||||
edge="63.333333333333336"
|
||||
fill="#FF0000"
|
||||
strokecolor="#000000"
|
||||
strokeWidth="5"
|
||||
points="378.87455119562924,250 341.6481518837726,301.23774297708 281.41457251841285,281.6666666666667 281.4145725184128,218.33333333333334 341.6481518837726,198.76225702291998 378.87455119562924,250 "
|
||||
stroke="#000000"
|
||||
stroke-width="15"
|
||||
fill-opacity="1"
|
||||
stroke-opacity="1"
|
||||
stroke-dasharray="5,2,2,2"
|
||||
></polygon>
|
||||
</g>
|
||||
<defs>
|
||||
<filter id="svg_2_id_blur" x="-50%" y="-50%" width="200%" height="200%">
|
||||
<feGaussianBlur in="SourceGraphic" stdDeviation="5"></feGaussianBlur>
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
||||
`;
|
||||
|
||||
exports[`use all parts of svg-edit > check tool_polygon_change_stoke_fill_color #0`] = `
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
@ -635,8 +554,6 @@ exports[`use all parts of svg-edit > check tool_polygon_change_stoke_fill_color
|
|||
stroke-width="15"
|
||||
fill-opacity="1"
|
||||
stroke-opacity="1"
|
||||
stroke-dasharray="5,2,2,2"
|
||||
stroke-linecap="square"
|
||||
></polygon>
|
||||
</g>
|
||||
<defs>
|
||||
|
@ -677,8 +594,6 @@ exports[`use all parts of svg-edit > check tool_polygon_change_sides #0`] = `
|
|||
stroke-width="15"
|
||||
fill-opacity="1"
|
||||
stroke-opacity="1"
|
||||
stroke-dasharray="5,2,2,2"
|
||||
stroke-linecap="square"
|
||||
></polygon>
|
||||
</g>
|
||||
<defs>
|
||||
|
|
|
@ -123,20 +123,6 @@ describe('use all parts of svg-edit', function () {
|
|||
}
|
||||
cy.get('#svgcontent').toMatchSnapshot();
|
||||
});
|
||||
it('check tool_polygon_change_stroke_style', function () {
|
||||
cy.get('#svg_1').click({ force: true });
|
||||
cy.get('#stroke_style').shadow().find('elix-dropdown-list').eq(0).invoke('attr', 'opened', 'opened');
|
||||
cy.get('#stroke_style').find('se-list-item').eq(3).shadow().find('elix-option').eq(0)
|
||||
.click({ force: true });
|
||||
cy.get('#svgcontent').toMatchSnapshot();
|
||||
});
|
||||
it('check tool_polygon_change_line_cap', function () {
|
||||
cy.get('#svg_1').click({ force: true });
|
||||
cy.get('#stroke_linecap').shadow().find('elix-dropdown-list').eq(0).invoke('attr', 'opened', 'opened');
|
||||
cy.get('#stroke_linecap').find('se-list-item').eq(1).shadow().find('elix-option').eq(0)
|
||||
.click({ force: true });
|
||||
cy.get('#svgcontent').toMatchSnapshot();
|
||||
});
|
||||
it('check tool_polygon_change_stoke_fill_color', function () {
|
||||
cy.get('#svg_1').click({ force: true });
|
||||
cy.get('#stroke_color').shadow().find('#picker').eq(0).click({ force: true });
|
||||
|
|
Loading…
Reference in New Issue