Commit graph

55 commits

Author SHA1 Message Date
Kirill Gavrilov
d83f0169ba e2e: take screenshot of Obsidian app after failed E2E scenario
It will be automatically added to Allure reporter
2025-10-21 23:54:46 +03:00
Kirill Gavrilov
f2638b5385 build(e2e): add conditional allure reporter 2025-10-21 23:54:28 +03:00
Kirill Gavrilov
a2f1687234 chore(e2e): extract variable with a list of WDIO reporters 2025-10-21 12:39:22 +03:00
Kirill Gavrilov
0c5a41e14a build: upgrade all dependencies to latest versions 2025-10-20 01:55:16 +03:00
Kirill Gavrilov
45f5dfc1af ci: publish E2E-tests coverage to SonarQube
#5
2025-10-20 01:45:46 +03:00
Kirill Gavrilov
da38f73330 chore(e2e): collect coverage upon E2E test suite completion
#5
2025-10-20 01:45:41 +03:00
Kirill Gavrilov
8c674b5dcf build: add task producing instrumented build for measuring code coverage
#5
2025-10-20 01:45:31 +03:00
Kirill Gavrilov
56f5a6362c ci(e2e): start executing e2e tests in CI
Closes #3
2025-10-19 23:32:30 +03:00
Kirill Gavrilov
075a8849dd ci: execute CI pipeline inside of special Docker container supporting e2e testing
#3
2025-10-19 23:32:30 +03:00
Kirill Gavrilov
6eb9cf0a69 build: adjust CI Dockerfile to make it possible to run on Apple Silicon Mac 2025-10-19 23:32:30 +03:00
Kirill Gavrilov
e27b30584a ci: automate build of Docker image for running CI
#3
2025-10-19 23:32:30 +03:00
Kirill Gavrilov
6369bb2d62 build: prepare image for running tests inside of Docker container
#3
2025-10-19 23:32:30 +03:00
Kirill Gavrilov
2b3ab72f49 chore(e2e): make obsidian path and sandbox Electron option configurable
Will be needed for running E2E tests in CI #3
2025-10-19 23:32:29 +03:00
Kirill Gavrilov
99ed8adf07 chore: remove explicit version of Electron from WDIO config
Now E2E tests work even without it
2025-10-07 13:28:45 +03:00
Kirill Gavrilov
7a2c1ba2e3 build: upgrade Electron version to match the latest Obsidian v1.9.14 2025-10-06 01:46:48 +03:00
Kirill Gavrilov
34e0d0009c build: upgrade all dependencies to latest versions where possible
Not latest versions for:
- `wdio-electron-service` (because of the webdriverio-community/wdio-electron-service#1191 bug)
- `electron` (because it matches the version currently used by Obsidian)
2025-10-06 01:46:48 +03:00
Kirill Gavrilov
938b95aab0 build: the latest pnpm v10.18.0 2025-10-06 01:46:48 +03:00
Kirill Gavrilov
51caadc76e chore: 0.0.2 release 2025-10-06 01:30:39 +03:00
Kirill Gavrilov
d1aa69df99 ci: disable package manager caching, because pnpm-lock.yaml is not committed 2025-10-05 02:16:16 +03:00
Kirill Gavrilov
2a051a8aa5 ci: invoke pnpm/action-setup BEFORE actions/setup-node 2025-10-05 02:16:16 +03:00
Kirill Gavrilov
a2570233f4 ci: upgrade actions-tasks to latest versions 2025-10-05 02:16:16 +03:00
Kirill Gavrilov
28068f4933 fix: add small delay to wait for HTMLMediaElement to become available in Markdown view 2025-10-05 02:16:16 +03:00
Kirill Gavrilov
085d6163c5 feat: support timecodes for local media files
Implements #1
2025-10-05 02:16:15 +03:00
Kirill Gavrilov
f3ce484122 doc: add comment about MarkdownPostProcessor behavior 2025-10-05 01:44:49 +03:00
Kirill Gavrilov
4ca783077d refactor: support for different types of links 2025-10-05 01:37:22 +03:00
Kirill Gavrilov
5a511dee07 test(e2e): refactor to benefit from WDIO Electron service types fixes
Related: webdriverio-community/wdio-electron-service#957
2025-03-06 02:32:01 +03:00
Kirill Gavrilov
4f0c0c5308 build: update all the dependencies 2025-03-06 02:32:01 +03:00
Kirill Gavrilov
d7d5f33400 build: downgrade Node.js types to fix require('electron') types inference in e2e tests
Was broken by dcfd5717f7.

@types/node v22.10.8 is the most recent known version which doesn't cause problems
2025-03-06 02:32:00 +03:00
Kirill Gavrilov
a22ee47cc9 docs: change header
As requested in obsidianmd/obsidian-releases#5213
2025-02-24 14:02:40 +03:00
Kirill Gavrilov
e34a716b64 chore: remove debug message 2025-02-22 02:22:06 +03:00
Kirill Gavrilov
0095b3262e chore(eslint): enable 'no-console' rule for plugin's source code 2025-02-22 02:21:23 +03:00
Kirill Gavrilov
dcfd5717f7 build: update all dependencies 2025-01-30 03:57:29 +03:00
Kirill Gavrilov
3189a7df71 test(e2e): rename variable 2025-01-30 03:57:29 +03:00
Kirill Gavrilov
e2be71de55 test(e2e): skip interaction with vault security modal
Community plugins will get enabled programmatically by e2e test.
2025-01-30 03:57:29 +03:00
Kirill Gavrilov
11b23f9181 test(e2e): fix plugin id 2025-01-30 03:46:44 +03:00
Kirill Gavrilov
29eb3f0fea docs: fix installation instructions link 2025-01-22 15:37:22 +03:00
Kirill Gavrilov
ab6e9c5eb3 docs: add badges to README.md 2025-01-22 15:33:32 +03:00
Kirill Gavrilov
500125bd24 ci: add GitHub action for release 2025-01-22 15:33:32 +03:00
Kirill Gavrilov
d60ddcc1c8 ci: configure SonarQube 2025-01-22 15:33:31 +03:00
Kirill Gavrilov
8bae542a59 ci: add GitHub action for CI 2025-01-22 15:33:31 +03:00
Kirill Gavrilov
9ca77b1698 docs: add demo gif to README.md 2025-01-22 15:33:31 +03:00
Kirill Gavrilov
ce57bb4e29 docs: add description to README.md 2025-01-22 15:33:31 +03:00
Kirill Gavrilov
33fe226baf test(e2e): add tests to verify timecoded links in Obsidian note's reading mode 2025-01-22 15:33:30 +03:00
Kirill Gavrilov
c70eac0027 chore(eslint): prepare ESLint for WebdriverIO-based tests 2025-01-22 15:33:30 +03:00
Kirill Gavrilov
3fb4291ae1 test: add unit tests 2025-01-22 15:33:30 +03:00
Kirill Gavrilov
19b8697d9c chore(vitest): maximize performance of test runner 2025-01-22 15:33:30 +03:00
Kirill Gavrilov
e209f83b51 build: add Vitest 2025-01-22 15:33:29 +03:00
Kirill Gavrilov
d5b42fbe6a feat: turn raw text timecodes into clickable links in reading mode 2025-01-22 15:33:29 +03:00
Kirill Gavrilov
6a9e94b0c0 chore: configure VS Code fix stylistic ESLint errors on save 2025-01-22 15:33:29 +03:00
Kirill Gavrilov
66d34ade0b chore(eslint): configure stylistic rules 2025-01-22 15:33:29 +03:00