From 6c708ed9748005a711a935a8e3ead5613b73dfd0 Mon Sep 17 00:00:00 2001
From: JFH <20402845+jfhenon@users.noreply.github.com>
Date: Sun, 29 Aug 2021 16:05:21 +0200
Subject: [PATCH] update tests
---
.../ui/__snapshots__/scenario2.js.snap | 140 ++++++++--------
.../ui/__snapshots__/scenario4.js.snap | 158 +++++++++---------
.../ui/__snapshots__/scenario5.js.snap | 88 +++++-----
cypress/integration/unit/utilities.js | 11 --
src/svgcanvas/undo.js | 16 +-
src/svgcanvas/utilities.js | 9 +-
6 files changed, 198 insertions(+), 224 deletions(-)
diff --git a/cypress/integration/ui/__snapshots__/scenario2.js.snap b/cypress/integration/ui/__snapshots__/scenario2.js.snap
index 241be924..ce009cdd 100644
--- a/cypress/integration/ui/__snapshots__/scenario2.js.snap
+++ b/cypress/integration/ui/__snapshots__/scenario2.js.snap
@@ -331,68 +331,6 @@ exports[`use all parts of svg-edit > check tool_ellipse_change_rotation #0`] = `
`;
-exports[`use all parts of svg-edit > check tool_ellipse_change_blur #0`] = `
-
-`;
-
exports[`use all parts of svg-edit > check tool_ellipse_change_cx_cy_coordinate #0`] = `
@@ -510,8 +448,8 @@ exports[`use all parts of svg-edit > check tool_ellipse_change_rx_ry_radius #0`]
>
-
-
+
+
@@ -572,8 +510,8 @@ exports[`use all parts of svg-edit > check tool_ellipse_bring_to_back #0`] = `
>
-
-
+
+
@@ -634,8 +572,8 @@ exports[`use all parts of svg-edit > check tool_ellipse_bring_to_front #0`] = `
>
-
-
+
+
@@ -708,6 +646,68 @@ exports[`use all parts of svg-edit > check tool_ellipse_clone #0`] = `
id="svg_4"
>
+
+
+
+
+
+
+`;
+
+exports[`use all parts of svg-edit > check tool_ellipse_change_blur #0`] = `
+
`;
-exports[`use all parts of svg-edit > check tool_rect_change_blur #0`] = `
-
-`;
-
exports[`use all parts of svg-edit > check tool_rect_change_opacity #0`] = `
@@ -463,8 +400,8 @@ exports[`use all parts of svg-edit > check tool_fhrect_change_x_y_coordinate #0`
>
-
-
+
+
@@ -526,8 +463,8 @@ exports[`use all parts of svg-edit > check tool_fhrect_change_width_height #0`]
>
-
-
+
+
@@ -600,8 +537,8 @@ exports[`use all parts of svg-edit > check tool_square_clone #0`] = `
>
-
-
+
+
@@ -674,8 +611,8 @@ exports[`use all parts of svg-edit > check tool_square_bring_to_back #0`] = `
>
-
-
+
+
@@ -748,8 +685,8 @@ exports[`use all parts of svg-edit > check tool_square_bring_to_front #0`] = `
>
-
-
+
+
@@ -824,8 +761,8 @@ exports[`use all parts of svg-edit > check tool_square_change_corner_radius #0`]
>
-
-
+
+
@@ -898,8 +835,8 @@ exports[`use all parts of svg-edit > check tool_rect_change_to_path #0`] = `
>
-
-
+
+
@@ -944,6 +881,69 @@ exports[`use all parts of svg-edit > check tool_rect_delete #0`] = `
ry="25"
>
+
+
+
+
+
+
+`;
+
+exports[`use all parts of svg-edit > check tool_rect_change_blur #0`] = `
+
`;
-exports[`use all parts of svg-edit > check tool_line_change_blur #0`] = `
-
-`;
-
exports[`use all parts of svg-edit > check tool_line_change_opacity #0`] = `
@@ -177,8 +139,8 @@ exports[`use all parts of svg-edit > check tool_line_delete #0`] = `
Layer 1
-
-
+
+
@@ -245,8 +207,8 @@ exports[`use all parts of svg-edit > check tool_line_clone #0`] = `
-
-
+
+
@@ -303,6 +265,44 @@ exports[`use all parts of svg-edit > check tool_fhrect_change_x_y_coordinate #0`
>
+
+
+
+
+
+
+`;
+
+exports[`use all parts of svg-edit > check tool_line_change_blur #0`] = `
+