Commit graph

69 commits

Author SHA1 Message Date
Eberhard Beilharz
7447c49ede
chore(web): escape some additional values in TC service messages
See: https://www.jetbrains.com/help/teamcity/service-messages.html#Escaped+Values.

Follow-up-of: #15374
Build-bot: skip:all build:web
Test-bot: skip
2025-12-22 14:47:37 +01:00
Darcy Wong
d0ea16b975 chore(web): Move chirality.js to common/test/resources/keyboards/ 2025-10-21 13:49:37 +07:00
Eberhard Beilharz
229bdf8270
maint(resources): nest unit tests under parent block
This adds a modified `mocha-teamcity-reporter` that allows to nest the
unit tests under the parent block.

Fixes: #14839
Test-bot: skip
2025-10-06 16:09:47 +02:00
Joshua Horton
e9a1f6c349 maint(web): converts worker-thread tests to TS 2025-08-12 15:38:53 -05:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Eberhard Beilharz
3b136fcec9
maint(common): consolidate functions to determine OS
- add `builder_is_windows`, `builder_is_macos` and `builder_is_linux`
  functions
- add/move `BUILDER_OS` env variable to `resources/builder.inc.sh`
- use the new functions and env variable

Fixes: #14109
Test-bot: skip
2025-07-09 18:33:09 +02:00
Marc Durdin
9f15e7c7ec maint: add empty 'scripts' tag to package.json to silence warning
Also removes './' from front of gosh.js to address another npm cleanup
(from `npm pkg fix`).

Fixes: #13833
2025-05-25 06:35:28 +07:00
Joshua Horton
dc450cde9e chore(web): finalize removal of side-effect KMWString implementation 2025-04-22 11:40:57 +07:00
Joshua Horton
418f3d6aec chore(web): update all Web engine uses of kmwLength, kmwCodePointToCodeUnit, kmwCodeUnitToCodePoint 2025-04-22 10:17:07 +07:00
Joshua A. Horton
ae02e7d110 change(web): perform suggestion dupe-detection based on applied string, not displayAs 2024-06-28 14:13:08 +07:00
Joshua A. Horton
34986503c9 fix(web): patch-up automated tests that utilize dummy models
The dummy model never set a prediction's probability on the suggestion, so it never emitted p, lexical-p, or correction-p values before this branch's changes.
2024-06-27 09:49:09 +07: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
e527317d3a fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
Joshua A. Horton
7f9b1f0c35 chore(web): converts common/predictive-text browser-based tests 2024-05-15 14:31:36 +07:00
Joshua A. Horton
9942d5691c chore(web): removes unused flowId stuff, old resolved TODO 2024-05-15 14:09:42 +07:00
Joshua A. Horton
8e8906ddc4 fix(web): TC-reporter had mismatch in name for file suite start and end; also adds polish 2024-05-10 09:17:23 +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
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
01d0019d86 chore(web): removes package.json references to old @npm/types versions 2024-05-07 14:38:41 +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
64ce55854a feat(web): adds sil_ipa, armenian keyboards for KMW testing 2024-01-23 14:02:12 +07:00
Marc Durdin
33da132eab
Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures 2023-11-13 09:44:55 +11:00
Eberhard Beilharz
09843634bb
chore(web): Address code review comments 2023-11-06 17:28:25 +07:00
Eberhard Beilharz
abe6cee202
chore(web): Additional tests for backspace
Addresses code review comments.
2023-11-06 15:51:29 +07:00
Eberhard Beilharz
2e71ec9e70
chore(web): Add failing test for deadkey bug
Also adds a similar testcase to the baseline keyboard tests.
2023-11-06 13:28:49 +07:00
Joshua A. Horton
504e638321 chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/prep-feature-gestures-for-rebase 2023-06-09 11:12:22 +07:00
Joshua A. Horton
224d4817ff chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/prep-feature-gestures-for-rebase-cntd 2023-05-29 11:53:37 +07:00
Joshua A. Horton
86c8cb16af chore(web): Merge branch 'master' into feature-gestures-update-a17s14-start 2023-05-29 10:50:34 +07:00
Joshua A. Horton
2e3bf2f552 fix(web): restores other test suites, aside from KMW UI modules 2023-05-17 11:46:11 +07:00
Joshua A. Horton
7eef5699b9 chore(web): Merge branch 'master' into chore/web/master-to-esmodule-merge-a17s10 2023-04-12 09:56:48 +07:00
Marc Durdin
c18ef54029 refactor(common): move core baseline tests into common
Decided to use the name `baseline` for this set of tests. They can be
used by any project in the repo now. Tests will be treated as shared,
and not modified (except in the case of a buggy test).

* Moves .kmn files, add `&NAME` line (don't use meson templating for
  these files)
* Generates reference .kmx files using kmcomp for use as a baseline with
  kmcmplib (kmc) tests, and for linux tests
* Updates references in core, kmcmplib, and linux builds
* Renames all the .kmn / .kmx to use a standardized, clean name format
  (this was needed for building packages in the core tests)
2023-03-28 05:20:45 +07:00
Joshua A. Horton
13b0e0575e chore(web): Merge branch 'master' into chore/web/feature-gestures-update 2023-03-20 15:05:41 +07:00
Joshua A. Horton
18b6c83597 chore(web): minor toolchain tweak 2023-03-15 10:46:47 +07:00
Joshua A. Horton
f5e64a10a5 chore: Merge branch 'chore/common/ldml-ts-and-node-updates' into chore/feature-esmodule-master-update 2023-03-14 09:23:39 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
8f5997a3e6 chore: rename os_id to BUILDER_OS 2023-02-20 08:44:03 +07:00
Joshua A. Horton
2cd8f90a66 chore(web): Merge branch 'feature-gestures' into chore/update-feature-gestures-base 2023-02-20 08:32:47 +07:00
Joshua A. Horton
8b57e28a34 chore(common/web): more import path fun 2023-02-17 11:23:16 +07:00
Joshua A. Horton
66502553da feat(common): simple package for common test resources 2023-02-03 15:13:18 +07:00
Joshua A. Horton
dce763600e chore(common/models): lm-worker import path cleanup 2023-02-03 14:52:12 +07:00
Joshua A. Horton
a41e26d0a2 fix(common/web): unit test patch-up 2023-02-03 13:37:23 +07:00
Joshua Horton
497ec8657f
Merge pull request #8051 from keymanapp/change/common/models/lmlayer-modularization
change(common/models): predictive-text worker interface package conversion to ES modules 🧩
2023-02-02 14:21:07 +07:00
Joshua Horton
bf914fe2f1
Merge pull request #8050 from keymanapp/change/common/models/lm-worker-modularization
change(common/models): lm-worker package conversion to ES modules 🧩
2023-02-02 14:14:22 +07:00