Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

ci(ui-tests): move keyboard/accessibility test to dedicated shard (#3586)

LearningCircuit3a1f91505a6a
diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml
index e0727bf2a0..bbb97c48ae 100644
--- a/.github/workflows/docker-tests.yml
+++ b/.github/workflows/docker-tests.yml
@@ -459,7 +459,7 @@ jobs:
# Run UI tests with Puppeteer
#
- # Runs as a 4-way matrix (one cell per shard). Each cell spins up its own
+ # Runs as a 5-way matrix (one cell per shard). Each cell spins up its own
# docker container and runs only the tests tagged with its shard in
# tests/ui_tests/run_all_tests.js. Fresh per-cell DB bounds state leakage
# across tests (see #5165 flake analysis).
@@ -475,7 +475,7 @@ jobs:
timeout-minutes: 40
strategy:
matrix:
- shard: [auth-core, research, settings-library, misc-mobile]
+ shard: [auth-core, research, settings-library, misc-mobile, accessibility]
fail-fast: false
permissions:
contents: read
diff --git a/tests/ui_tests/README.md b/tests/ui_tests/README.md
index 97102ff9c0..c722f478c7 100644
--- a/tests/ui_tests/README.md
+++ b/tests/ui_tests/README.md
@@ -19,7 +19,7 @@ node tests/ui_tests/run_all_tests.js
### Run a Single Shard
-Tests are partitioned into four shards so CI can run them in parallel matrix
+Tests are partitioned into five shards so CI can run them in parallel matrix
cells. Each entry in `run_all_tests.js` carries a `shard:` property. Local dev
rarely needs this, but you can reproduce a CI cell with:
@@ -28,6 +28,7 @@ node tests/ui_tests/run_all_tests.js --shard=auth-core
node tests/ui_tests/run_all_tests.js --shard=research
node tests/ui_tests/run_all_tests.js --shard=settings-library
node tests/ui_tests/run_all_tests.js --shard=misc-mobile
+node tests/ui_tests/run_all_tests.js --shard=accessibility
```
Passing an unknown shard, or leaving `--shard` off while `CI=true` is set,
diff --git a/tests/ui_tests/run_all_tests.js b/tests/ui_tests/run_all_tests.js
index c7a0d418a2..6b7c87145d 100644
--- a/tests/ui_tests/run_all_tests.js
+++ b/tests/ui_tests/run_all_tests.js
@@ -10,12 +10,12 @@
* node tests/ui_tests/run_all_tests.js # run all tests
* node tests/ui_tests/run_all_tests.js --shard=auth-core # run one shard
*
- * Valid shards: auth-core, research, settings-library, misc-mobile
+ * Valid shards: auth-core, research, settings-library, misc-mobile, accessibility
*/
// Keep in sync with `strategy.matrix.shard` in .github/workflows/docker-tests.yml.
// A mismatch would cause silent test misrouting.
-const VALID_SHARDS = ['auth-core', 'research', 'settings-library', 'misc-mobile'];
+const VALID_SHARDS = ['auth-core', 'research', 'settings-library', 'misc-mobile', 'accessibility'];
// TODO(rebalance): initial shard allocation is a best-effort estimate. After
// the first release run, grep logs for `TIMING:` to get ground-truth per-test
@@ -267,7 +267,7 @@ const tests = [
{
name: 'Keyboard & Accessibility CI Tests',
file: 'test_keyboard_accessibility_ci.js',
- shard: 'misc-mobile',
+ shard: 'accessibility',
description: 'Tests keyboard navigation, shortcuts, ARIA, focus management'
},
{