Releases: webdriverio-community/wdio-electron-service
Releases · webdriverio-community/wdio-electron-service
Release 7.0.0
New:
- Complete restructure of the repo, now using Turborepo (#443, #623, #645)
- Works with WDIO v9 (#623, #666, #729)
- Node 16 support dropped (#666)
- "No Binary" mode for testing an app without having to build it using e.g. Electron Forge or
electron-builder
(#704)
Fixed:
- Windows CI timeouts with Electron 30 (#578)
- Executable name on Forge builds doesn't take account of packagerConfig (#621)
- Multiple build tools present in a project produces errors (#622)
- E2E debug is too verbose (#634)
- Windows CI errors with latest
electron-builder
(#599) - Forge Mac-universal E2E errors (#576)
Docs:
- Updated for "No Binary" mode
- Updated for WDIO v9
- Minimum required Electron version to avoid having to self-configure chromedriver moved to main README
Developer:
Release 6.6.1
Fixed:
@electron/packager
import error inelectron-builder
projects (#578)
Developer:
- Updated dependencies
Release 6.6.0
New:
- Support for
mac-universal
builds using Forge andelectron-builder
(#575) - Support for Forge custom output directories - the service will now respect the output directory you specify in
forge.config.js
(c6bf002)
Documentation:
- Added debugging information and example to Common Issues page (#577)
Developer:
- Standardised PNPM version across CI and repo (#573)
- Updated dependencies
Release 6.5.0
New:
- Standalone Mode - the ability to use the service in a regular Node.js script, without the WDIO testrunner (#521)
Documentation:
- Standalone mode page (1843726, 5a2903a)
- Improved chromedriver configuration page - detailing user management for older Electron versions (#511)
- Standardised code sample filename formatting (#512)
Developer:
Release 6.4.1
Fixed:
- Preload guard causes errors in Vite-based projects (78b6d83)
Documentation:
- More specific security instructions around API access (79aac35)
- Improved text around sandboxing and non-bundled preload scripts (79aac35)
- Improved code samples (486a916)
- Updated CD user management section, specfically for older Electron versions (#511)
Developer:
- CI: fixed dry run in release script (#475)
- Updated dependencies
Release 6.4.0
New:
isMockFunction
utility for determining whether a given parameter is an Electron mock (#450)- Types for mock object properties -
calls
,lastCall
,results
,invocationCallOrder
(#442)
Fixed:
before
hook throws error when run without IPC bridge (#462)
Documentation:
Developer:
- CI: Add expense contribution workflow (#445, #451)
- CI: Release workflow improvements (#444, #460)
- Test: Add E2Es for mock object properties (cf1a71f)
- Test: Speed up
onPrepare
units by mocking Electron release response (#448) - Scripts updated for
husky
v9 (#447) - Updated Electron to v29 (#441)
- Updated dependencies
Release 6.3.2
Release 6.3.1
Fixed:
- CJS output depends on
@vitest/spy
which is ESM only (#421) mockRestore
should explicitly clear mocks (df0ecad)
Developer:
Release 6.3.0
New:
- Added remaining mock object functions -
withImplementation
,getMockImplementation
,mockReturnThis
,mockName
,getMockName
,mockReturnThis
(#410)
Fixed:
fast-copy
error when runningwdio-electron-service-example
E2Es (8ab64ba)
Documentation:
- Added docs for new mock object functions (cd9fdd5)
Developer:
Release 6.2.0
New:
- Added mock promise methods -
mockResolvedValue
,mockResolvedValueOnce
,mockRejectedValue
,mockRejectedValueOnce
(#391) - Improved mock performance by restricting mock updates to happen after non-internal
execute
commands (#393)
Documentation:
- Updated documentation for new mock promise methods (8959c9b)
Developer:
- Improved unit test coverage (#344)
- Updated dependencies