Skip to content

Build your personal knowledge base with Trilium Notes

fix(ci): use pre-installed chromedriver to fix flaky CKEditor tests

Elian Doran706459ae8b43
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 91b11f8869..8495b32f35 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -74,6 +74,8 @@ jobs:
- name: Run CKEditor e2e tests
run: |
+ export CHROMEDRIVER_PATH=$(which chromedriver || find /usr/local/share -name chromedriver -type f 2>/dev/null | head -1)
+ echo "Using chromedriver at: $CHROMEDRIVER_PATH"
pnpm run --filter=ckeditor5-mermaid test
pnpm run --filter=ckeditor5-math test