Commit Graph

49 Commits (1337ce7a09743d3389a50e0f3a76bb73fc766700)

Author SHA1 Message Date
JFH 9a68ba6358 fix some useless console.log 2021-05-15 16:20:13 +02:00
JFH d3974f8f17 enforce a few eslint rules 2021-05-13 01:00:09 +02:00
JFH 593c415664 update master to V7 2021-05-09 19:29:45 +02:00
Timo Dittmann 41fc05672d Added textLength and lengthAdjust to text formatting tools 2021-04-02 07:38:24 +02:00
Timo Dittmann 69bf3d9d81 Added word spacing to text formatting tools 2021-04-02 07:38:24 +02:00
Timo Dittmann 92eac95627 Added letter spacing to text formatting tools 2021-04-02 07:38:24 +02:00
Timo Dittmann 35e6de97ef
- Added text decoration options (underline, overline, line-through) (#469)
- Added german translations to extensions

Co-authored-by: Timo Dittmann <timo.dittmann@kaufland.com>
2021-01-19 00:35:24 +01:00
JFH ba89536f41 fix test 2020-12-13 22:35:45 +01:00
Timo Dittmann 6bf68e575d Enhancement: Add text anchor to texts 2020-12-08 12:05:06 +01:00
JFH 28019eef07
Refactor canvas in multiple pieces to increase maintainability (#446)
* #refactor-canvas getJsonFromSvgElement and svgroot code moved to separate file
* #refactor-canvas build files changes
* #refactor-canvas addSVGElementsFromJson move to json file
* #refactor-canvas selected element option function move separate file
* #refactor-canvas moveUpDownSelected move to select-elem
* ##refactor-canvas build file updated
* #refactor-canvas moveSelectedElements  move to selected-elem
* #refactor-canvas cloneSelectedElements move to slected-elem
* #refactor-canvas alignSelectedElements move to selected-elem
* #refactor-canvas deleteSelectedElements move to selected-elem
* #refactor-canvas copySelectedElements and groupSelectedElements move to selected-elem
* #refactor-canvas pushGroupProperty, ungroupSelectedElement move to selected-elem
* #refactor-canvas comment changes
* #refactor-canvas UndoManager move to separate file
* #refactor-canvas event file move to mouseMove, mouseUpEvent and dblClickEvent
* #refactor-canvas mouseDown move to event
* #refactor-canvas move to undo file
* #refactor alignment changes  and set function revert return
* #refactor-canvas textaction move to separate file
* #refactor-canvas paste-element function move to separate file
* #refactor-canvas set and get  method move to separate file
* #refactor-canvas set and get function moved changes
* #refactor clear file import and regaring function moved changes changes
* #refactor-canvas svg related function move to separate file
* #refactor-canvas setBackground methos move to elem-get-set file
* #refactor-canvas getBsplinePoint method move to event file
* #refactor-canvas export functions move to svg-exec
* #refactor-canvas svg related function moved separate file
* #refactor-canvas updateCanvas,  cycleElement move to selected-elem file
* #refactor-canvas removeUnusedDefElems move to svg-exec file
* #refactor-canvas blur method move to separate file blur-event.js
* #refactor-canvas selection related function move to separate file slection.js
* #refactor-canvas convertGradients, mousewheelmove event bind function move to other files
* #refactor-canvas extension function move to selection file
* #refactor-canvas svg tag long string changes to es6 format
* eslint fixes
* eslint and test fixes
* add netlify logo per their requirements
* #refactor-canvas path file separate to path-method.js and path-actions.js
* #refactor-canvas lint issue fixed
* #refactor-canvas path.js file class and const move to path-method.js
* #refactor-canvas eslint issue fixed. 'jsdoc/check-examples': 'off' already so removed eslint-disable jsdoc/check-examples
* #refactor-canvas path class moved changes and copy-elem.js file cypress test issue fixed
* #refactor-canvas UI - Clipboard paste element  cypress issue fixed
* #refactor-canvas cypress test cases issue fixed changes
* #refactor-canvas cypress test cases issue fixed changes
* #refactor-canvas cypress test case issue fixed
* npm update and fix a few eslint new errors
* fix snapshot and run tests
* add star tool to cypress
* #refactor-canvas shapelibrary, star, polygon and panning tool issue fixed
* build
* Update layer.js
* revert proper declarations

Authored-by OptimistikSAS
2020-11-11 11:38:45 +01:00
jfh 8f859537ef update snapshots 2020-10-17 00:51:22 +02:00
jfh 8a1607a8cd make snapshot more robust 2020-10-16 23:59:30 +02:00
jfh 1552f13958 fix an issue with tool selection test 2020-10-16 23:22:31 +02:00
jfh cfbb5a5ec8 npm update + fix linked to this update
found an issue with eslint when empty comments were used.
2020-10-04 23:07:31 +02:00
jfh f663898dfd add a small test in scenario.js 2020-09-22 00:18:52 +02:00
jfh 359a161ff2 remove external folder in favor of npm dependencies 2020-09-19 15:21:30 +02:00
jfh fa516488eb added delay necessary to pass this test 2020-09-19 12:55:19 +02:00
jfh b88691d1f3 fix issue with the snapshot 2020-09-13 23:56:45 +02:00
jfh e05a6aeb33 focus on the svg content to test snapshots 2020-09-13 14:07:19 +02:00
jfh 6379335d6a start a UI scenario to test various part of svgedit 2020-09-13 11:26:26 +02:00
jfh a61cfdf553 add a cypress scenario 2020-09-13 01:32:13 +02:00
jfh 4643bab371 fix editor start with src and dist using es-dev-server 2020-09-01 00:15:18 +02:00
jfh 0bfee46b33 make test run with systemjs build 2020-08-29 01:20:37 +02:00
JFH 06c48ec088 fix integration tests after cypress update 2020-08-07 22:01:23 +02:00
JFH fd6cf3889f fix integration tests 2020-08-06 21:46:30 +02:00
JFH 92635ba721 restore all eslint rules 2020-08-01 01:23:28 +02:00
JFH 42fbe6a1ba put back accessibility tests ignoring issues 2020-07-26 22:48:59 +02:00
JFH 89e20d49e6 eslint/browser list/accessibility test 2020-07-26 20:11:18 +02:00
JFH 48212c8384 fix bug in unapply for batch command 2020-07-25 19:33:44 +02:00
JFH 61b4a4accb skip accessibility tests (at least temporarly) 2020-07-25 19:32:28 +02:00
JFH 232995ba1a adapt import in cy tests 2020-07-14 18:06:33 +02:00
JFH 14cf560ab7 Create issue-423.js 2020-07-12 23:50:12 +02:00
JFH 61591f6a2e fix issue with undo because this.elem was overwritten with node.remove() 2020-06-28 21:52:27 +02:00
JFH 60115ee602
Update issue-408.js 2020-06-21 11:05:48 +02:00
JFH 957d34fc9a
Update issue-407.js 2020-06-21 11:04:48 +02:00
JFH 0c1c7d5b12 add cypress tests for issues #407 and #408 2020-06-20 13:12:19 +02:00
Brett Zamir 8096f0750f - Testing: Use more precise/semantic chai assertion methods 2020-02-27 07:25:58 +08:00
Neil Fraser b1ceb3c911 Add Clipboard unit tests 2020-02-21 14:51:09 +08:00
Brett Zamir 8f2d50873e - Testing (UI): Add `force: true` and longer timeout to get tests passing 2020-02-21 10:33:56 +08:00
Brett Zamir 03a56e035d - Testing: Clarify 2020-01-21 12:05:29 +08:00
Brett Zamir fd77dc2b30 - Testing: Add key commands test 2020-01-21 11:50:06 +08:00
cuixiping e69fd11766 Testing: add testing for convertPath function 2020-01-16 14:20:19 +08:00
Brett Zamir 92f8a5be57 - Refactoring: Avoid redundant creation of text node for strings when passing to `append` 2020-01-04 16:43:03 +08:00
Brett Zamir fc41ea7a43 - Testing: Separate tests into unit/ui; split UI tests by specific domain;
setup browser-bug folder and ui issues folder
- Testing: Create test utilities for selecting English and visiting and
  approving storage
- Testing: Add test for tool selection
2019-12-23 18:47:17 +08:00
Brett Zamir c3c9b0f54d - Testing: Migrate remaining HTML tests to Cypress 2019-11-24 16:53:10 +08:00
Brett Zamir ddb0fc3ef6 - Run tests against instrumented version, fixing instrumentation 2019-11-23 23:32:22 +08:00
Brett Zamir 14c8c17968 - Testing: Fix UI drag test 2019-11-23 21:42:29 +08:00
Brett Zamir b8790ff9d6 - Testing: Use ESM version for faster debugging 2019-11-23 21:24:31 +08:00
Brett Zamir 3736fddb7f - Testing: Switch to Cypress with code coverage
- npm: Add peerDeps
2019-11-23 21:18:05 +08:00