WDIO Obsidian Service
    Preparing search index...

    Changelog

    • Doc fixes
    • Support hidden files in resetVault
    • Update docs
    • misc documentation updates
    • remove broken gautamkrishnar/keepalive-workflow from wdio-obsidian-service-sample-plugin workflow example
    • Fix bug with executeObsidian plugins argument getting out of sync
    • Fix obsidian-launcher CLI "SUID" issue on linux
    • Support passing extra arguments to Obsidian in the obsidian-launcher cli
    • Fix obsidian-launcher cli not respecting --installer argument
    • Fix error on latest wdio version

    Now supports mobile testing!

    You can choose from two approaches for testing your plugin on mobile. You can use emulateMobile to easily emulate the mobile UI on the electron desktop app. Or you can set up Android Studio and a Android Virtual Device to test your plugin on the real Obsidian Android app. See Platform Support for more info on how to set up mobile testing.

    • Improve CI workflows in sample plugin
      • Set up a window manager to fix some intermittent failures that only occurred in the CI tests
    • Add more helper methods for file manipulation in vaults
    • Add startWdioSession to launch wdio in standalone mode, so you can use it for scripting scenarios
    • Improve handling of Obsidian Insiders login for beta versions, now obsidian-launcher will prompt for credentials and optionally cache them.
    • Remove 7zip requirement
    • Add parseObsidianVersions helper
    • Improve support for ARM architecture
    • Make obsidianPage.openFile set tab to active.
    • Documentation improvements, better error handling, performance improvements and more
    • Made obsidianPage.getVaultPath, browser.getObsidianVersion, browser.getObsidianInstallerVersion, and browser.getObsidianPage synchronous
    • getVaultPath will now throw instead of returning undefined if no vault is open
    • vault, plugin and theme paths in wdio config are now resolved relative to wdio.conf.mts, to match behavior of other paths in wdio conf.
    • Rename ObsidianLauncher.resolveVersions to resolveVersion
    • Fix peer dependency conflict
    • Fix some intermittent errors in reloadObsidian when using Appium
    • Documentation fixes
    • Performance improvements to mobile Appium testing
      • Now supports using the appium:noReset option to avoid relaunching Obsidian before every test
      • Improved performance of transfering vault to the AVD
    • Expand obsidian-launcher download command to download more asset types
    • Support installing specific theme versions
    • Fix sample CI workflow's window-manager setup (again)
    • Fix ObsidianLauncher ignoring the platform and arch arguments
    • Fix octokit dependency breaking package on older moduleResolution modes
    • Documentation fixes
    • Fix race-condition in .obsidian-cache downloads
    • More flexible parsing of plugin/theme versions in obsidian-launcher CLI
    • Add documentation for MacOS workaround
    • Fix MacOS security settings blocking the downloaded Obsidian executables
    • More fixes on MacOS, clear the com.apple.quarantine attribute on downloaded Obsidian executables
    • Minor documentation updates
    • Allow running "incompatible" app and installer versions with just a warning
    • Fix vault not being opened on old Obsidian versions
    • Fix incorrect minInstallerVersion
      • When using "earliest" installer settings, it would pick installers that were too old for the specified Obsidian app version. Now it checks for installer compatibility correctly
    • Add ObsidianPage.read and ObsidianPage.readBinary helper methods
    • Add ObsidianLauncher.login method

    Fix incompatibility with appium 3

    Note, to use appium 3 you'll need to update your wdio.mobile.conf.ts appium service config to

    ["appium", {
    args: { allowInsecure: "*:chromedriver_autodownload,*:adb_shell" },
    }],

    If you encounter errors, try wiping and recreating package-lock.json to make sure you have the latest versions of wdio, appium, and the appium drivers.