You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Christos Malliaridis (Jira)" <ji...@apache.org> on 2025/02/19 14:06:00 UTC
[jira] [Created] (SOLR-17676) Enable wasmJs tests
Christos Malliaridis created SOLR-17676:
-------------------------------------------
Summary: Enable wasmJs tests
Key: SOLR-17676
URL: https://issues.apache.org/jira/browse/SOLR-17676
Project: Solr
Issue Type: Improvement
Components: Admin UI
Reporter: Christos Malliaridis
After introducing the new UI with common tests, we have noticed that the wasmJs test configuration fails on Jenkins and on local environments if the selected browser in the configuration is not installed.
Since we want a proper coverage for the wasmJs target, we should enable the tests again.
h2. Task
Find a solution for enabling the wasmJs tests, so that they can be executed on local environments and / or in CI without much effort and reliable.
h2. Acceptance Criteria
- If enabled for CI / CD workflows, they work reliable regardless the machine that is executing it
- If enabled locally, the developer does not have to make project changes to run the tests (like lock state changes)
The ideal solution would be to run the UI tests for the WebAssembly app (wasmJs) in all browsers and in our CI pipelines.
h2. Additional Information
You are free to use any available testing framework (via gradle configuration probably) for wasmJs. KMP provides afaik mocha and karma.
You may also follow a similar approach like with error-prone, where we introduced a flag for enabling it manually.
Unit tests may not need a browser to be executed, but this needs to be confirmed baed on the solution chosen.
See discussion in https://github.com/apache/solr/pull/3195#pullrequestreview-2625441442 (where the tests were disabled) for more details.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org