Commit graph

56 commits

Author SHA1 Message Date
Eberhard Beilharz
12d56453a4
test(web): add e2e tests for KMX keyboard with web-core
Also add similar tests for a JS keyboard.

Test-bot: skip
2025-12-05 19:13:27 +01:00
Marc Durdin
8da5cdd059 chore: Merge remote-tracking branch 'origin/epic/web-core' into chore/merge-master-into-web-core 2025-08-28 10:42:57 +02:00
Marc Durdin
f3fb3ac87b maint(common): move build-utils-ci.inc.sh to ci/ci-publish.inc.sh
Removes a number of unused functions from the file, renames remaining
functions to match our builder script prefix patterns, removes unused
imports from various build scripts (e.g. Android).

Fixes: #14453
2025-08-05 12:54:56 +10: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
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00
Eberhard Beilharz
819c9cc3fe
chore: Merge branch 'epic/web-core' into chore/merge-master-into-web-core 2025-05-30 18:25:23 +02:00
Marc Durdin
64d9128446 chore: Merge branch 'chore/merge-master-into-web-core' 2025-05-15 17:42:55 +02:00
Joshua Horton
14dd36de4d fix(web): inspectable test-script mode should not be auto-enabled in local-env tests
This is a followup to the recent #13827, which automatically adds --debug to local-environment builds.  For web/ test scripts involving browser-based scripts, that same flag had been used to enable an _inspectable_ test mode that doesn't auto-return, which doesn't match the semantics of --debug for build configurations.

To rectify this, those scripts now have their --debug option renamed to --inspect, allowing them to be optionally turned on, but not automatically enabled.

Test-bot: skip
2025-05-13 12:38:47 +07:00
Joshua Horton
cb5e3035a7 chore(web): replace --ci flag with builder_is_ci_build
Fixes: #12640
2025-05-02 09:39:39 +07:00
Eberhard Beilharz
0d86bbd429
feat(core): run tests from KEYMAN_ROOT instead of web
This gives us access to the keyboards needed for the core-processor tests.
2024-10-18 19:04:22 +02:00
Joshua A. Horton
13476d48c8 change(web): precompile all TS-based tests 2024-06-06 15:48:58 +07:00
Joshua A. Horton
635b33f8b7 change(web): removes prepended space 2024-05-23 14:12:08 +07:00
Joshua A. Horton
a4cda163e4 fix(web): properly pass wtr verbose-logging flag 2024-05-23 11:00:08 +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
55f1ea2b8d chore(web): converts web end-to-end style tests 2024-05-15 15:27:46 +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
f324d1ed53 chore(web): finalizes conversion of all test/auto/dom Web auto-tests 2024-05-15 15:08:19 +07:00
Joshua A. Horton
7b7689ad81 chore(web): engine/attachment, engine/dom-utils browser-integration test conversions 2024-05-15 15:08:15 +07:00
Eberhard Beilharz
0967915175
chore(web): Improve web/test.sh script
- previously there was an extra `--browsers` flag - `$BROWSERS` already
  contains the flag.
- previously we specified `$KARMA_FLAGS` twice if we set
  `$KARMA_EXT_FLAGS`
- some cleanup
2024-05-03 10:38:45 +02:00
Eberhard Beilharz
3cde93d56a
Merge pull request #10250 from keymanapp/chore/web/attachmentTests
chore(web): Add unit tests for `pageContextAttachment`
2023-12-15 08:13:50 +01:00
Eberhard Beilharz
c9fac1b944
chore(web): Add unit tests for pageContextAttachment 2023-12-13 19:04:59 +01:00
Eberhard Beilharz
cc21cc3efa
chore(web): Remove dead code
`test:libraries` is an invalid target which causes an error when called.
Which means this is dead code. This change removes it.
2023-12-13 12:00:57 +01:00
Joshua A. Horton
4a2eda1d6f chore(web): an extra for last commit 2023-06-15 15:49:08 +07:00
Joshua A. Horton
1f4da87bca change(web): proper definition for 'ci.sh test' 2023-05-18 10:37:29 +07:00
Joshua A. Horton
e9ef1865a2 chore(web): a bit of tidy-up and script restoration 2023-05-17 11:46:38 +07:00
Joshua A. Horton
e42fa70aa8 chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/update-feature-esmodule-a17s12-start 2023-05-02 12:59:35 +07:00
Joshua A. Horton
60a7373046 fix(web): forgot to adjust calling script to changes 2023-04-19 15:19:52 +07:00
Marc Durdin
787b32ba34
Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
Joshua A. Horton
208dd453c1 chore(web): Merge branch 'change/web/top-level-modularization-design' into change/web/osk-and-key-event-integration 2023-03-14 13:09:51 +07:00
Joshua A. Horton
5988f5b1e2 chore(web): updates new scripts to optimized form (see #8416) 2023-03-14 12:38:26 +07:00
Joshua A. Horton
a9f28138a4 chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/child-script-pattern 2023-03-14 12:24:10 +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
8251ec861a chore: cleanup additional --debug references 2023-03-08 05:46:32 +07:00
Joshua A. Horton
39a807eeb1 change(web): engine key event forwarding, osk path config 2023-02-28 08:42:08 +07:00
Joshua A. Horton
75435a0e4c fix(web): reconnects in-browser tests, including new single-browser suite 2023-02-22 14:56:36 +07:00
Joshua A. Horton
2f065e0b89 change(common): fixes a builder error 2023-02-22 13:22:30 +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
3fe89ee508
Merge branch 'master' into chore/cleanup-fail-warn-log_warning-log_error-echo_heading 2023-02-20 16:27:17 +11:00
Marc Durdin
f290175bc4
Merge pull request #8260 from keymanapp/chore/cleanup-shell-helper-functions
chore: cleanup some of shellHelperFunctions.sh
2023-02-20 16:26:01 +11:00
Marc Durdin
320d20b651
chore(web): Actually skip browser-stack for non-web builds
@keymanapp-test-bot skip
2023-02-20 16:24:01 +11:00
Marc Durdin
501c317b24 chore: use builder_warn, remove log_warning 2023-02-20 09:18:26 +07:00
Marc Durdin
8f5997a3e6 chore: rename os_id to BUILDER_OS 2023-02-20 08:44:03 +07:00
Joshua A. Horton
6af1e4890e chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/feature-esmodule-update 2023-02-16 15:18:50 +07:00
Marc Durdin
4598f13ba8 chore(common): automatically apply _builder_check_color 2023-02-09 12:12:18 +07:00
Marc Durdin
983ae43357 chore(common): add builder_term function 2023-02-08 12:49:54 +07:00
Joshua A. Horton
803976b7a8 change(web): preps for differentiated automated test types in top-level Web project 2023-01-26 12:49:00 +07:00
Joshua A. Horton
edcadb744b chore(web): Merge branch 'change/web/reorg-source-src-reorg' into change/web/reorg-tools 2022-12-01 10:42:47 +07:00
Joshua A. Horton
6bfe562666 chore(web): web/test.sh tweak 2022-11-29 09:47:27 +07:00
Joshua A. Horton
eb9cd0c9e9 chore(web): script patch-up, new tools/testing/recorder script 2022-11-29 09:47:07 +07:00