Joshua A. Horton
8a4a51dca5
chore(web): proxy setup for test-model lookup
...
Doesn't actually affect the test passing, but it does silence a warning.
2024-05-09 09:55:57 +07:00
Joshua A. Horton
a3a36ecda3
chore(web): drop later-removed comment
2024-05-09 09:54:36 +07:00
Joshua A. Horton
e4890f3d3d
chore(web): deletes migrated test source
2024-05-09 09:49:49 +07:00
Joshua A. Horton
09d8ea0aa8
chore(web): converts lm-worker test to typescript, uses plugin
2024-05-09 09:40:34 +07:00
Joshua A. Horton
6571e8b383
chore(web): links new reporter into lm-worker tests, includes default reporter for in-progress summary
2024-05-09 09:40:18 +07:00
Joshua A. Horton
af0479f74d
chore(web): lm-worker test --debug path
2024-05-09 09:36:39 +07:00
Joshua A. Horton
2543d98dbc
chore(web): lm-worker testing - local vs CI mode
2024-05-09 09:36:38 +07:00
Joshua A. Horton
5fa3ebfb08
chore(web): converts lm-worker .spec.html to .spec.mjs
2024-05-09 09:36:38 +07:00
Joshua A. Horton
3fd2323a83
chore(web): lm-worker cleanup
2024-05-09 09:18:04 +07:00
Joshua A. Horton
9adda6b636
chore(web): actually links new test-runner test into lm-worker/build.sh
2024-05-09 09:18:02 +07:00
Joshua A. Horton
8ace9f5868
chore(web): lm-worker in-browser test now in lm-worker project
...
Uses @web/test-runner to run it, making it our first integrated test with the new testing library
2024-05-09 09:18:02 +07:00
Joshua A. Horton
b9b86e760c
feat(web): adds 'stability reporter', exposing error reports when a test-runner launcher fails
2024-05-09 09:18:01 +07:00
Joshua A. Horton
b83a16d0ac
chore(web): extra TC-reporter polish
2024-05-09 09:18:00 +07:00
Joshua A. Horton
53e84ff0ad
feat(web): better cause-of-failure reporting; notes if spec'd test-files never ran
2024-05-09 09:14:01 +07:00
Joshua A. Horton
c765d3217b
chore(web): figured out how to disambiguate browser configs
2024-05-09 09:13:13 +07:00
Joshua A. Horton
eecacc94e9
chore(web): initial TC-style string-escaping implementation
2024-05-09 09:12:47 +07:00
Joshua A. Horton
33dcfe31bf
feat(web): prototype TC-reporter for @web/test-runner
2024-05-09 09:12:42 +07:00
Joshua A. Horton
8d7721545a
chore(web): updates sinon to a version with fully-ESM artifact
2024-05-09 08:49:51 +07:00
Joshua A. Horton
a34e5c9100
fix(web): EventEmitter import pattern update
2024-05-09 08:49:50 +07:00
Joshua A. Horton
ad8bdaa4c1
chore(web): updates eventemitter3 to v5, when it provides esmodule exports
2024-05-09 08:49:50 +07:00
Joshua A. Horton
7b9bff10b2
chore(web): Merge branch 'chore/web/chai-update' into chore/web/consistent-npm-types
2024-05-09 08:10:12 +07:00
Joshua A. Horton
5c43042589
chore(web): update Safari BrowserStack target as stopgap measure
2024-05-08 16:08:11 +07:00
Joshua A. Horton
18cfd76e66
chore(web): Merge branch 'chore/web/chai-update' into chore/web/consistent-npm-types
2024-05-08 08:53:13 +07:00
Joshua A. Horton
079e68393a
fix(common): Chai 5.0 update strictness broke some common/web/types tests
2024-05-08 08:50:18 +07:00
Steven R. Loomis
1fe76bcd26
Merge branch 'master' into chore/core/11033-points-not-units
2024-05-07 09:26:07 -05:00
Joshua A. Horton
01d0019d86
chore(web): removes package.json references to old @npm/types versions
2024-05-07 14:38:41 +07:00
Joshua A. Horton
2bc2f77f11
fix(web): kbd-proc Karma test fix
2024-05-07 14:35:10 +07:00
Joshua A. Horton
7a66eb29b4
fix(web): gesture-recognizer Karma tests
2024-05-07 14:35:10 +07:00
Joshua A. Horton
812de690d8
chore(web): fixes pred-text karma config
...
The upgrade to chai means that karma's 'framework' feature is no longer compatible, meaning a _little_ extra legwork is required to use it for karma browser tests. It's just a little bit, though.
Will need to replicate this for the other packages that use karma to test, as the pattern kinda proliferated.
2024-05-07 14:35:09 +07:00
Joshua A. Horton
398b9e0ae2
chore(common): drops package-specific 'chai', '@types/chai' versions
...
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Joshua A. Horton
5574b9418f
chore(web): chai dependency updates
...
Updates 'chai' assertion library to latest; old version used CommonJS imports
2024-05-07 14:35:08 +07:00
Steven R. Loomis
fbd1c0c841
chore(core): km_core_cp -> km_core_cu
...
- fix comment
- fix API version
Fixes : #11033
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-05-06 09:54:07 -05:00
Eberhard Beilharz
1b066de292
chore(web): Improve dependencies
2024-05-06 16:41:06 +02:00
Steven R. Loomis
6706ae0957
chore(core): km_core_cp -> km_core_cu
...
- km_core_cp represents a 16 bit code unit, not a code point.
Fixes : #11033
2024-05-02 17:39:15 -05:00
Marc Durdin
b003e7b4bf
chore(common): builder_describe and builder_parse should come first
...
builder_describe and builder_parse should come before other tests, so
that (a) scripts can return --help details, and (b) so that
builder.inc.sh can tell that the script is a valid builder script, even
if environment means that the script will not otherwise run.
2024-05-02 15:54:32 +07:00
Marc Durdin
cd8121ef65
chore(common): builder scripts now use /resources/build/builder.inc.sh
...
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).
This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc
chore(common): maintenance on build scripts - cd
...
Fixes #11324 .
* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Joshua Horton
e8c7f525b7
Merge pull request #11321 from keymanapp/fix/web/gesture-model-failure-handling
2024-05-01 07:52:15 +07:00
Joshua A. Horton
725b973bfd
chore(web): removes old doc that has completed its purpose
2024-04-30 09:31:15 +07:00
Joshua A. Horton
068437d818
fix(web): also prevent path-update crashes from causing issues
2024-04-30 09:14:08 +07:00
Joshua A. Horton
3ff7664ca2
fix(web): invalid initial-state aborts further model processing
2024-04-30 09:06:31 +07:00
Joshua A. Horton
456ab70322
fix(web): failed gesture-model spinup should not lock the gesture engine
2024-04-30 09:06:30 +07:00
Marc Durdin
d019707a65
Merge pull request #11244 from keymanapp/fix/developer/11199-export-osk-without-keyman-installed
...
fix(developer): support export of visual keyboard when Keyman for Windows not installed
2024-04-26 17:08:58 +10:00
Marc Durdin
571fbb6c50
fix(developer): don't include DTD in visual keyboard export
...
The DTD reference at tavultesoft.com is no longer valid. In order for
the .xml file to be parseable, we need to remove the DTD reference. This
resolves the issue where the emitted .html file is blank, and adds an
additional step of verifying that the .xml file loads successfully in
the XML to HTML transform.
2024-04-26 10:07:01 +07:00
Joshua A. Horton
bb0420109f
feat(web): touch-layout layer spec processing now deferred until needed
2024-04-23 10:31:53 +07:00
Joshua A. Horton
fdd4c2a6a7
refactor(web): gesture-check preprocessing, removal of redundant param
2024-04-23 10:31:52 +07:00
Joshua A. Horton
326eaa2700
chore(web): type-related prep for touch-spec process deferral
2024-04-23 10:31:52 +07:00
Joshua A. Horton
1fccce581a
chore(web): revert ineffective attempt to optimize prop-name looping
2024-04-23 10:29:34 +07:00
Joshua A. Horton
bef266548a
fix(web): default multitap fix + sets one layout field private
2024-04-23 10:29:33 +07:00
Joshua A. Horton
b9cfaa156b
change(web): more efficient key-spec processing
2024-04-23 10:29:32 +07:00