From 7b6aab13b4e754ae5b4543babc77399eec883b3d Mon Sep 17 00:00:00 2001 From: agriyadev5 Date: Mon, 30 Aug 2021 13:00:29 +0530 Subject: [PATCH] #623 line issue test cases changes --- .../integration/ui/__snapshots__/scenario5.js.snap | 10 +++++----- cypress/integration/ui/scenario5.js | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cypress/integration/ui/__snapshots__/scenario5.js.snap b/cypress/integration/ui/__snapshots__/scenario5.js.snap index 457adf33..2f0869fa 100644 --- a/cypress/integration/ui/__snapshots__/scenario5.js.snap +++ b/cypress/integration/ui/__snapshots__/scenario5.js.snap @@ -488,7 +488,7 @@ exports[`use all parts of svg-edit > check tool_line_change_stroke_width #0`] = `; -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`] = ` check tool_line_align_to_page #0`] = ` Layer 1 check tool_line_align_to_page #0`] = ` `; -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`] = ` 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" diff --git a/cypress/integration/ui/scenario5.js b/cypress/integration/ui/scenario5.js index ee9ea836..efa7eb78 100644 --- a/cypress/integration/ui/scenario5.js +++ b/cypress/integration/ui/scenario5.js @@ -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(); + }); });