Commit Graph

151 Commits (master)

Author SHA1 Message Date
JFH d6f74fc497 Fix test 2021-08-30 12:09:45 +02:00
JFH 4a32bedd86
Merge pull request #627 from SVG-Edit/issues/623_2
#623 cypress test cases
2021-08-30 10:42:55 +02:00
agriyadev5 7b6aab13b4 #623 line issue test cases changes 2021-08-30 13:00:29 +05:30
agriyadev5 bf7e7237a8 #623 text cypress text cases changes 2021-08-30 12:37:06 +05:30
agriyadev5 6aa086dbfb #623 unwanted things removed 2021-08-30 12:17:17 +05:30
agriyadev5 47536f27d0 #623 unwanted things removed 2021-08-30 12:12:59 +05:30
agriyadev5 347cabddfd #623 shapshot updated 2021-08-30 11:45:56 +05:30
agriyadev5 19ddfba17e #623 unwanted code removed 2021-08-30 11:42:06 +05:30
JFH 33189a22c1 fix snapshots 2021-08-29 16:17:06 +02:00
JFH 6c708ed974 update tests 2021-08-29 16:05:21 +02:00
JFH 0d2c344fee remove svgtransform polyfill now widely supported 2021-08-29 14:16:03 +02:00
agriyadev5 427b09ca6a #623 tool_star cypress test cases added 2021-08-27 19:26:07 +05:30
agriyadev5 41dbec29af #623 tool_polygon cyper test cases added 2021-08-27 18:35:33 +05:30
agriyadev5 a905f02c76 #623 tool text cypress test cases added 2021-08-27 16:34:07 +05:30
agriyadev5 92ec863fbc #623 line missing test case added 2021-08-27 14:11:11 +05:30
agriyadev5 d07153865e #623 line tool test cases added 2021-08-26 22:09:50 +05:30
agriyadev5 40d547ae0f #623 test cases added 2021-08-26 19:19:45 +05:30
agriyadev5 cc2bbde8e1 #623 rect, square and fhrect cypress test cases added 2021-08-26 16:44:00 +05:30
JFH 380a78c729
Merge pull request #624 from SVG-Edit/issues/623 2021-08-25 20:03:14 +02:00
agriyadev5 fcca6c46f5 #623 path cypress test cases 2021-08-25 20:26:30 +05:30
agriyadev5 ae4610edfb #623 circle, fhellipse and ellipse cypress test case added 2021-08-25 16:24:38 +05:30
agriyadev5 33c5546186 #623 cypress new test cases added 2021-08-25 13:52:26 +05:30
agriyadev5 66ee80ac0d #603 rect and square cypress test cases added 2021-08-24 20:01:28 +05:30
agriyadev5 af33ae1db3 #603 test cases compile issue fixed 2021-08-24 19:37:55 +05:30
agriyadev5 b0006d84b5 #603 image tool added for cypress test cases 2021-08-24 19:01:51 +05:30
agriyadev5 e79891c614 #603 revert cypress test case 2021-08-23 18:31:55 +05:30
agriyadev5 996c66531b #scenario_new_cases new cases added 2021-08-19 20:18:18 +05:30
JFH 7f46fce845 Update scenario.js.snap 2021-08-15 09:28:56 +02:00
JFH ddf3269bd0 fix sidepanel with grid css 2021-08-15 01:50:19 +02:00
JFH b50fe0aee1 remove change image and minor refactoring 2021-08-13 14:37:55 +02:00
JFH e53182456a fix test 2021-08-08 00:33:21 +02:00
agriyadev5 bb76fbf4b6 #374 testing issue fixed 2021-06-14 12:36:50 +05:30
Agriya Dev5 4b337f00e0 #105 jquery remove from cypress 2021-06-01 20:13:42 +05:30
JFH 5682b7bc59 restore 2 tests and fix snapshot 2021-05-31 00:10:26 +02:00
JFH 074df9cdec eslint: enforce use of const when variable not modified 2021-05-31 00:09:51 +02:00
JFH 99ee706c18 eslint rule for declarations 2021-05-28 17:03:29 +02:00
JFH 01b022b1e7 identation requirement to eslint 2021-05-28 10:35:46 +02:00
JFH 4a0b69a46b fix tests to use the npm jquery 2021-05-23 17:59:18 +02:00
JFH e71958e705 fix several configuration issue and linter 2021-05-19 23:09:40 +02:00
JFH 858dba04b0 Update scenario.js.snap 2021-05-15 17:55:21 +02:00
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 d399e8f5de remove unused script 2020-07-30 14:40:58 +02:00
JFH 42fbe6a1ba put back accessibility tests ignoring issues 2020-07-26 22:48:59 +02:00
JFH 2bd4da081a Merge branch 'refactor-folders' of https://github.com/SVG-Edit/svgedit into refactor-folders 2020-07-26 20:16:56 +02:00
JFH 89e20d49e6 eslint/browser list/accessibility test 2020-07-26 20:11:18 +02:00
Brett Zamir 41f9d801bf - Linting: For non-jQuery methods, apply no-fn-reference-in-iterator rule (though still keep rule disabled due to numerous jQuery false positives)
- Linting: With num. of warnings set to 0, probably need to disable `check-examples` for those environments having problems
- Linting: Reenable Unicorn rules now that updated
2020-07-26 10:36:10 +08: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 4b92acc790 - Update: Cypress code coverage plugin
- Linting: Update as per latest ash-nazg
- npm: Update devDeps.
2020-04-12 10:45:03 +08:00
Brett Zamir 8096f0750f - Testing: Use more precise/semantic chai assertion methods 2020-02-27 07:25:58 +08:00
Brett Zamir 9fac8ecc58 - Linting (ESLint): Add `fintechstudieos/eslint-plugin-chai-as-promised`,
`eslint-plugin-chai-expect-keywords`, and `eslint-plugin-mocha-cleanup`
    plugins
2020-02-26 14:34:42 +08:00
Brett Zamir e60812e196 - Linting (ESLint): Check eslintrc file itself
- Linting: Add linting plugins (mocha, chai-expect, chai-friendly, cypress)
- Testing: Change cypress plugins file to ESM (so can set up any needed unit testing tasks)
2020-02-21 16:34:55 +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 d9d4d94976 - Linting (ESLint): Apply per latest ash-nazg (jsdoc: complete sentence descriptions)
- npm: Update devDeps
2019-12-31 15:27:16 +08:00
cuixiping f03cdc98a4 Testing: Fix the selector of editor preferences 2019-12-25 15:53:27 +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 4792426221 - Refactoring: Move out coverage badge generation to own repo
- npm: Update devDep
2019-12-20 16:38:08 +08:00
Brett Zamir a6f65cec0b - Docs: Use SVG-based coverage badge on README in place of PNG 2019-12-18 21:32:44 +08:00
Brett Zamir 3200e0ab8e - Docs/Build: Script to build coverage badge 2019-11-25 08:40:37 +08:00
Brett Zamir c3c9b0f54d - Testing: Migrate remaining HTML tests to Cypress 2019-11-24 16:53:10 +08:00
Brett Zamir 2b3cf0129c - Avoid giving coverage for bundled, but ensure included in instrumented path 2019-11-23 23:50:56 +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