diff --git a/packages/editor/cypress/integration/topicFontChange.test.js b/packages/editor/cypress/integration/topicFontChange.test.js index 5ba77776..029df1a1 100644 --- a/packages/editor/cypress/integration/topicFontChange.test.js +++ b/packages/editor/cypress/integration/topicFontChange.test.js @@ -15,7 +15,7 @@ context('Edit Topic', () => { it('Change Font Size', () => { cy.get('#fontSizeTip').click(); - cy.get('.popover #small').click(); + cy.get('.popover #small').click({ force: true }); cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '8.0625'); cy.matchImageSnapshot('changeFontSizeSmall'); diff --git a/packages/editor/cypress/integration/topicShape.test.js b/packages/editor/cypress/integration/topicShape.test.js index 7247f406..618e22c2 100644 --- a/packages/editor/cypress/integration/topicShape.test.js +++ b/packages/editor/cypress/integration/topicShape.test.js @@ -7,7 +7,7 @@ context('Change Topic shape', () => { it('change to square shape', () => { cy.get('#topicShapeTip').click(); - cy.get('#rectagle').click(); + cy.get('#rectagle').click({ force: true }); cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').should('eq', '0'); diff --git a/packages/editor/cypress/snapshots/playground.test.js/editor.snap.png b/packages/editor/cypress/snapshots/playground.test.js/editor.snap.png index 37ca4276..b0b65038 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/editor.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/editor.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-complex.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-complex.snap.png index 76317c48..849393df 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-complex.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-complex.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-icon-sample.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-icon-sample.snap.png index d927353c..c5812db7 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-icon-sample.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-icon-sample.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-img-support.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-img-support.snap.png index aef09f1e..77de8b0f 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-img-support.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-img-support.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample1.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample1.snap.png index 09f5736c..8069012d 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample1.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample1.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample2.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample2.snap.png index d7f33a77..cca81e14 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample2.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample2.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample3.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample3.snap.png index af80b8ab..9e39d25e 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample3.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample3.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample4.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample4.snap.png index 70bf3f28..5b18b272 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample4.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample4.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample5.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample5.snap.png index 2c325c08..f0fb0bb0 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample5.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample5.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample6.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample6.snap.png index dbda0ea9..2ba68358 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample6.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample6.snap.png differ diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-welcome.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-welcome.snap.png index 3f2db213..6350ebae 100644 Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-welcome.snap.png and b/packages/editor/cypress/snapshots/playground.test.js/viewmode-welcome.snap.png differ diff --git a/packages/editor/cypress/snapshots/relationship.test.js/changeShapeRealtionship.snap.png b/packages/editor/cypress/snapshots/relationship.test.js/changeShapeRealtionship.snap.png index 317f2122..e8f04dcb 100644 Binary files a/packages/editor/cypress/snapshots/relationship.test.js/changeShapeRealtionship.snap.png and b/packages/editor/cypress/snapshots/relationship.test.js/changeShapeRealtionship.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontColor.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontColor.snap.png index e9399fb6..bd46a0c7 100644 Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontColor.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontColor.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontItalic.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontItalic.snap.png index 3a5c6fb8..61878965 100644 Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontItalic.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontItalic.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeHuge.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeHuge.snap.png index fc6f7eec..b3f20e57 100644 Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeHuge.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeHuge.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeLarge.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeLarge.snap.png index b75d27ad..6093c856 100644 Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeLarge.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeLarge.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeNormal.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeNormal.snap.png index f9aaa71f..5d2c1ab1 100644 Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeNormal.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeNormal.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeSmall.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeSmall.snap.png index bad2ac64..19454e12 100644 Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeSmall.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeSmall.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontType.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontType.snap.png index fc6f7eec..b3f20e57 100644 Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontType.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontType.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeMainTopicText.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeMainTopicText.snap.png index fbe2f5a8..ecf6ee6c 100644 Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeMainTopicText.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeMainTopicText.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/addChildNodeSortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/addChildNodeSortcut.snap.png index a1d5bea3..34e379d5 100644 Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/addChildNodeSortcut.snap.png and b/packages/editor/cypress/snapshots/topicManager.test.js/addChildNodeSortcut.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/deleteTopicShortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/deleteTopicShortcut.snap.png index 0a712e7b..63798511 100644 Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/deleteTopicShortcut.snap.png and b/packages/editor/cypress/snapshots/topicManager.test.js/deleteTopicShortcut.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/editor-shortcut-edit.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/editor-shortcut-edit.snap.png index 5a61951b..b8161ccb 100644 Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/editor-shortcut-edit.snap.png and b/packages/editor/cypress/snapshots/topicManager.test.js/editor-shortcut-edit.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/saveChagesShortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/saveChagesShortcut.snap.png index bbffdf66..d6f29c5a 100644 Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/saveChagesShortcut.snap.png and b/packages/editor/cypress/snapshots/topicManager.test.js/saveChagesShortcut.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/undoChange.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/undoChange.snap.png index 666d5d65..c86635dd 100644 Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/undoChange.snap.png and b/packages/editor/cypress/snapshots/topicManager.test.js/undoChange.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicPosition.test.js/moveDefaultPosition.snap.png b/packages/editor/cypress/snapshots/topicPosition.test.js/moveDefaultPosition.snap.png index a538cfcd..82c0b061 100644 Binary files a/packages/editor/cypress/snapshots/topicPosition.test.js/moveDefaultPosition.snap.png and b/packages/editor/cypress/snapshots/topicPosition.test.js/moveDefaultPosition.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicPosition.test.js/movedownNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.test.js/movedownNode.snap.png index 962359be..cc4dd671 100644 Binary files a/packages/editor/cypress/snapshots/topicPosition.test.js/movedownNode.snap.png and b/packages/editor/cypress/snapshots/topicPosition.test.js/movedownNode.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicPosition.test.js/moveleftNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.test.js/moveleftNode.snap.png index 576c7a59..a4cde1a1 100644 Binary files a/packages/editor/cypress/snapshots/topicPosition.test.js/moveleftNode.snap.png and b/packages/editor/cypress/snapshots/topicPosition.test.js/moveleftNode.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicPosition.test.js/moveupNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.test.js/moveupNode.snap.png index 8c6a2324..1054b7f8 100644 Binary files a/packages/editor/cypress/snapshots/topicPosition.test.js/moveupNode.snap.png and b/packages/editor/cypress/snapshots/topicPosition.test.js/moveupNode.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicShape.test.js/changeToElipseShape.snap.png b/packages/editor/cypress/snapshots/topicShape.test.js/changeToElipseShape.snap.png index 4fc1b57d..39cc85a3 100644 Binary files a/packages/editor/cypress/snapshots/topicShape.test.js/changeToElipseShape.snap.png and b/packages/editor/cypress/snapshots/topicShape.test.js/changeToElipseShape.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicShape.test.js/changeToLine.snap.png b/packages/editor/cypress/snapshots/topicShape.test.js/changeToLine.snap.png index 64b5270e..15ca03a8 100644 Binary files a/packages/editor/cypress/snapshots/topicShape.test.js/changeToLine.snap.png and b/packages/editor/cypress/snapshots/topicShape.test.js/changeToLine.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicShape.test.js/changeToRoundedRectagle.snap.png b/packages/editor/cypress/snapshots/topicShape.test.js/changeToRoundedRectagle.snap.png index e6e18095..114beb30 100644 Binary files a/packages/editor/cypress/snapshots/topicShape.test.js/changeToRoundedRectagle.snap.png and b/packages/editor/cypress/snapshots/topicShape.test.js/changeToRoundedRectagle.snap.png differ diff --git a/packages/editor/cypress/snapshots/topicShape.test.js/changeToSquareShape.snap.png b/packages/editor/cypress/snapshots/topicShape.test.js/changeToSquareShape.snap.png index 22f79402..a6617bae 100644 Binary files a/packages/editor/cypress/snapshots/topicShape.test.js/changeToSquareShape.snap.png and b/packages/editor/cypress/snapshots/topicShape.test.js/changeToSquareShape.snap.png differ