Commit graph

907 commits

Author SHA1 Message Date
Evgeniy Pyatkov
acb287b932
Merge pull request #2 from JackUait/fix/remove-deprecated
fix: replace deprecated APIs with the modern ones
2025-11-22 02:46:34 +03:00
JackUait
c48898bb5b refactor: update inline tool interfaces and remove deprecated methods
- Refactored inline tool interfaces to use MenuConfig directly.
- Removed deprecated methods and properties from InlineTool and related types.
- Updated tests to reflect changes in inline tool handling and ensure proper functionality.
- Enhanced test coverage for inline tools, including link and italic tools.
- Cleaned up unused code and improved overall test structure.
2025-11-22 02:46:08 +03:00
JackUait
df5f7c8c6e fix: failing tests 2025-11-20 21:43:32 +03:00
JackUait
aadbabfa6e refactor: clean up selection tests and remove unused rectangle selection logic
refactor: simplify read-only tests by removing drag-and-drop functionality

test: update sanitisation tests to check for safe attributes in HTML

test: enhance configuration tests to ensure proper toolbox popover visibility

test: adjust keyboard shortcuts tests for inline tool handling and modifier key mapping

test: modify toolbox tests to use more specific selectors for paragraph blocks

test: improve UI module tests to utilize block selection methods directly

chore: remove deprecated drag-and-drop tests and related code

fix: update paste module error messages for clarity on configuration issues
2025-11-18 03:56:47 +03:00
JackUait
26eb6f496b test: add missing coverage E2E tests 2025-11-16 23:46:42 +03:00
JackUait
181e73f3c9 test: add missing test coverage 2025-11-16 07:32:01 +03:00
JackUait
408b160e39 fix: partially replace deprecated APIs with the modern ones 2025-11-16 01:00:11 +03:00
JackUait
5d5f19a61c fix: replace deprecated APIs with the modern ones 2025-11-16 00:00:30 +03:00
Evgeniy Pyatkov
799cf6055f
chore: introduce new tests and fix typescript/eslint errors
fix: typescript/lint errors
2025-11-15 15:33:31 +03:00
JackUait
d5ba62f70c test: cover untested parts with tests 2025-11-15 15:30:08 +03:00
JackUait
6a64b139f9 fix: get rid of all nested if statements 2025-11-15 04:49:30 +03:00
JackUait
c6fc903e2a fix: all eslint issues 2025-11-15 03:55:38 +03:00
JackUait
1d6d0a477e fix: left typescript errors 2025-11-15 03:33:20 +03:00
JackUait
b677b63eeb fix: all typescript errors 2025-11-15 03:13:55 +03:00
JackUait
b827e4a30f test: move ALL tests from Cypress to Playwright 2025-11-14 20:51:10 +03:00
JackUait
0379064dbb test: move part of the tests from Cypress to Playwright 2025-11-14 18:51:31 +03:00
JackUait
d4c73564f8 fix: lint issues and add tests for the left modules 2025-11-14 02:52:17 +03:00
JackUait
3b97e0fbd8 fix: lint issues fixed and tests added for modules 2025-11-13 23:06:17 +03:00
JackUait
41484abd5f fix: add tests and fix lint issues for some files 2025-11-12 06:31:39 +03:00
JackUait
334b85981d fix: add tests and fix lint issues for blocks.ts/block.ts 2025-11-11 12:53:13 +03:00
JackUait
67418624bd deps: remove redunant dependency codex-tooltip 2025-11-11 11:42:23 +03:00
JackUait
cae0b37779 fix: add tests and fix lint issues in caret.ts 2025-11-11 11:15:58 +03:00
JackUait
cce5037113 fix: add tests and fix lint issues in toolbox.ts 2025-11-11 07:18:33 +03:00
JackUait
1bd18fe258 test: add additional E2E tests for tooltip 2025-11-11 06:27:05 +03:00
JackUait
f362da6d59 fix: styles for tooltip.ts 2025-11-11 05:51:45 +03:00
JackUait
8372ee46b8 fix: add tests and fix lint issues in popover-desktop.ts 2025-11-11 05:42:56 +03:00
JackUait
1548a56d2d fix: add unit tests and fix lint issues for sanitizer.ts 2025-11-11 04:36:18 +03:00
JackUait
f02e838dc7 fix: write tests for tooltip.ts and fix lint issues 2025-11-11 04:17:03 +03:00
JackUait
3ec36a5d7c test: add tests for i18n 2025-11-10 22:13:35 +03:00
JackUait
bd40b0ff69 test: add tests for sanitisation 2025-11-10 20:50:34 +03:00
JackUait
d14b971774 test: add tests for popover search 2025-11-10 20:22:00 +03:00
JackUait
7d284c03a5 test: move sanitisation tests from Cypress to Playwright 2025-11-10 17:32:10 +03:00
JackUait
24b13ad191 test: add move the tests that were left in Cypress for popover-search to Playwright 2025-11-10 17:20:36 +03:00
JackUait
fb2329811f test: make sure that E2E tests always run with the latest changes 2025-11-10 17:15:45 +03:00
JackUait
ff118c4ce8 fix: remove left deprecated APIs from inline-tool-bold.ts 2025-11-10 17:15:04 +03:00
JackUait
117bc0edce test: add tests for popover search 2025-11-10 17:14:11 +03:00
JackUait
f26202e8d7 fix: get rid of deprecated API in inline-tool-bold.ts 2025-11-10 16:54:40 +03:00
JackUait
ec2865091a fix: make ALL tests in inline-tool-bold pass 2025-11-10 14:52:07 +03:00
JackUait
1a8ec5571c feat: make all test cases of inline-tool-bold work 2025-11-10 14:15:34 +03:00
JackUait
07799175e7 fix: lint issues in inline-tool-bold.ts 2025-11-10 05:17:30 +03:00
JackUait
fdcfef6f5a test: add tests for inline-link-tool 2025-11-10 05:04:38 +03:00
JackUait
7107717246 test: add data selectors for states of inline-tool-link 2025-11-09 01:34:08 +03:00
JackUait
02c8bd4f8c fix: lint issues in inline-tool-link.ts 2025-11-09 01:15:24 +03:00
JackUait
0a23e92111 fix: replace execCommand in selection.ts 2025-11-09 01:07:51 +03:00
JackUait
6a6c8731f5 chore: restore execCommand in selection.ts 2025-11-09 00:21:54 +03:00
JackUait
7940e123e5 test: write tests for inline bold tool 2025-11-09 00:02:59 +03:00
JackUait
e3a67dcbd3 fix: lint issues in __module.ts 2025-11-08 01:52:34 +03:00
JackUait
614cbc400c fix: lint issues in codex.ts 2025-11-08 01:46:35 +03:00
JackUait
bc540d1c0b fix: lint issues in tests 2025-11-08 01:40:23 +03:00
JackUait
1a6049c97d fix: lint issues in inline-tool-bold.ts 2025-11-07 15:15:37 +03:00