Joshua Horton
9bb8038da9
feat(web): adds complex nul-context handling unit tests
2025-01-23 09:11:11 +07:00
Joshua Horton
b4ca7cb8c6
fix(web): patches up unit test with execution dependent on autocorrect state
2025-01-17 15:29:47 +07:00
Eberhard Beilharz
6731cc44ab
chore(web): rename file missed in #12704
2024-11-27 12:13:57 +01:00
Eberhard Beilharz
432ab7055f
chore(web): rename test files and folders
...
This change renames the test files for Web according to the discussion at
the Keyman conference in November 2024. It also renames some folders from
`test` to `tests`.
2024-11-26 17:10:19 +01:00
Eberhard Beilharz
f52a1209c8
refactor(web): merge device-detect with web/src/engine/main
...
This change moves `web/src/engine/device-detect/` →
`web/src/engine/main/` and renames the `Device` class to `DeviceDetector`.
Fixes : #12388
2024-09-11 16:48:15 +02:00
Eberhard Beilharz
0d194faa71
refactor(web): fix tests
2024-08-27 09:37:43 +07:00
Eberhard Beilharz
b1fb8122c2
refactor(web): move gesture-processor tests under web/src/test
...
`gesture-processor/src/test/auto/browser/web-test-runner.config.mjs`
run the tests on iOS and Android. However, if we enable these browsers
in `web/src/test/auto/dom/web-test-runner.config.mjs` we get failing
tests in osk, therefore these browsers are commented for now.
2024-08-26 15:29:22 +07:00
Joshua Horton
9d9a091651
Merge pull request #12188 from keymanapp/refactor/web/drop-interface-jsproc-dependency
2024-08-20 07:01:59 +07:00
Eberhard Beilharz
170ac4bb6b
refactor(web): rename package-cache → keyboard-storage
...
Move `web/src/engine/package-cache/` →
`web/src/engine/keyboard-storage/`.
Fixes : #12132
2024-08-15 12:26:10 +02:00
Joshua A. Horton
c4340542f7
fix(web): patch up newly-merged-in automated test
2024-08-15 15:55:04 +07:00
Joshua A. Horton
36b42c4b45
Merge branch 'refactor/web/12110_keyboard' into refactor/web/drop-interface-jsproc-dependency
2024-08-15 13:46:43 +07:00
Eberhard Beilharz
d640dbe6ec
Merge branch 'master' into refactor/web/12110_keyboard
...
# Conflicts:
# package-lock.json
2024-08-15 08:30:59 +02:00
Joshua A. Horton
2938ee110b
refactor(web): remove engine/interfaces dependency on engine/js-processor
2024-08-15 10:12:27 +07:00
Eberhard Beilharz
61b44cbfbe
Merge branch 'master' into refactor/web/12067_js-processor
2024-08-14 19:15:51 +02:00
Eberhard Beilharz
89abdbd64c
refactor(web): move some files around
...
- move `outputTarget.ts` → `js-processor`
- move `deadkeys.ts` → `js-processor`
- move `stringDivergence.ts` → `js-processor`
- split `Mock` into `mock.ts`
- create `keyboard/outputTarget.interface.ts`
2024-08-14 19:06:32 +02:00
Eberhard Beilharz
7459ab0bf8
refactor(web): move tests
...
Some tests test functionality defined in `js-processor`, so we move
these to the appropriate location. Addresses code review comments.
2024-08-14 19:06:31 +02:00
Eberhard Beilharz
3cdd84ff40
refactor(web): move tests to test/auto/headless
...
Addresses code review comments.
2024-08-13 19:00:38 +02:00
Joshua A. Horton
7ab7ec9bd6
chore(web): minor comment cleanup
2024-08-13 13:43:17 +07:00
Joshua A. Horton
0055ad84eb
feat(web): test skipped prediction round handling
...
Fixes : #11624
2024-08-13 13:41:57 +07:00
Eberhard Beilharz
46ecfd4466
refactor(web): move remaining parts of keyboard-processor → keyboard
...
move parts of `common/web/keyboard-processor/` →
`web/src/engine/keyboard/`.
Fixes : #12110
2024-08-12 19:40:15 +02:00
Eberhard Beilharz
c09c895333
refactor(web): move parts of keyboard-processor → js-processor
...
Move parts of `common/web/keyboard-processor/` →
`web/src/engine/js-processor/`.
Note this temporarily disable tests for keyboard-processor which depend on
js-processor, until #12110 is fixed.
Fixes : #12067
2024-08-08 18:25:03 +02:00
Eberhard Beilharz
32f91d0dde
chore(web): address code review comments
...
- fix imports of types defined in parent directory
- move `main/src/text` → `main/src/headless`
- move `languageProcessor.ts` → parent directory
2024-08-02 11:23:42 +02:00
Eberhard Beilharz
24159d680b
chore(web): move common/web/input-processor/ → web/src/engine/main/
...
Also:
- move `modelSpec.ts` and `PredictionContext.ts` →
`web/src/engine/interfaces`
- move `correction.ts` and `correctionLayout.ts` to `web/src/engine/osk/`
Relates-to: #12035
Fixes : #12054
2024-08-01 20:13:21 +02:00
Eberhard Beilharz
ab5df20eef
chore(web): move web/src/engine/paths/ → web/src/engine/interfaces/
...
Fixes : #12035
2024-07-31 20:06:02 +02:00
Eberhard Beilharz
afe25eda24
change(web): remove support for es5
...
Fixes : #11878
2024-07-04 20:49:30 +02:00
Eberhard Beilharz
f7d6ebd6e1
refactor(web): fix TypeScript errors and warnings
...
Previously we didn't pre-compile this code and so we didn't notice these
errors and warnings.
2024-07-02 18:54:26 +02:00
Eberhard Beilharz
587c7094c7
refactor(web): fix TypeScript errors/warnings
2024-07-02 18:54:25 +02:00
Joshua A. Horton
8841dd9ee2
chore(web): define common timeout variable for automated testing
...
Fixes : #11499
2024-06-20 11:43:11 +07:00
Joshua A. Horton
13476d48c8
change(web): precompile all TS-based tests
2024-06-06 15:48:58 +07:00
Joshua A. Horton
a94c5115a8
chore(web): enforces strict function types in web/
2024-05-29 10:46:32 +07:00
Joshua A. Horton
6591c61eeb
chore(web): enforces noImplicitAny for app/browser and app/webview
2024-05-29 10:43:11 +07:00
Joshua A. Horton
0b05766efb
chore(web): removes web/ unused locals
2024-05-29 09:24:32 +07:00
Joshua Horton
7c348872f3
Merge pull request #11300 from keymanapp/chore/web/web-test-runner-trials
...
chore(web): finalization for replacement of Karma with Web Test Runner 🏃
2024-05-23 07:42:03 +07:00
Joshua Horton
2237f8a6dd
change(web): better assertion definitions, per code review
...
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-05-22 21:57:53 +07:00
Joshua A. Horton
1207c37898
chore(web): drops removed testing dependencies
2024-05-15 15:43:51 +07:00
Joshua A. Horton
9d5be7adea
chore(web): removes unreferenced test-utils code
2024-05-15 15:42:18 +07:00
Joshua A. Horton
2f864e82b0
chore(web): minor wtr config cleanup
2024-05-15 15:42:03 +07:00
Joshua A. Horton
a31fa36ec0
chore(web): converts 'integrated' (e2e-ish) Web auto-tests to TS
2024-05-15 15:34:12 +07:00
Joshua A. Horton
40d01c25f2
chore(web): main + child project Web tests - local vs CI reporting
2024-05-15 15:34:12 +07:00
Joshua A. Horton
14d42de3a9
chore(web): drops global concurency restriction in favor of WebKit-specific restriction
2024-05-15 15:34:11 +07:00
Joshua A. Horton
55f1ea2b8d
chore(web): converts web end-to-end style tests
2024-05-15 15:27:46 +07:00
Joshua A. Horton
a73bc4a2ee
chore(web): mild config cleanup
2024-05-15 15:24:16 +07:00
Joshua A. Horton
c6ba1441b4
chore(web): simple tsconfig.json for tests' package resolution
2024-05-15 15:24:16 +07:00
Joshua A. Horton
9a426b18ee
fix(web): dom tests do not need precompilation
2024-05-15 15:24:15 +07:00
Joshua A. Horton
7d4639f8c4
chore(web): converts 'dom' tests to TS, drops unused helpers
2024-05-15 15:24:14 +07:00
Joshua A. Horton
6c8344c9d4
chore(web): main + child project Web tests - local vs CI reporting for 'dom' integration tests
2024-05-15 15:23:58 +07:00
Joshua A. Horton
8c6e8c5da9
chore(web): converts element-wrapper page-integration tests
2024-05-15 15:08:20 +07:00
Joshua A. Horton
87aafa3335
chore(web): web 'dom' test stability-reporter link-in
2024-05-15 15:08:19 +07:00
Joshua A. Horton
f324d1ed53
chore(web): finalizes conversion of all test/auto/dom Web auto-tests
2024-05-15 15:08:19 +07:00
Joshua A. Horton
6f6a4f2f34
chore(web): converts engine/osk test/auto/dom tests
2024-05-15 15:08:18 +07:00