Commit Graph

100 Commits (c53c3db09cec079e6554b8c076df144e128ccdb7)

Author SHA1 Message Date
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
Brett Zamir 3736fddb7f - Testing: Switch to Cypress with code coverage
- npm: Add peerDeps
2019-11-23 21:18:05 +08:00