Skip to content

fix: use WdioIcsOptions for wdio-ics:options type augmentation#1122

Merged
wswebcreation merged 1 commit intomainfrom
fix/wdio-ics-options-type-augmentation
Feb 24, 2026
Merged

fix: use WdioIcsOptions for wdio-ics:options type augmentation#1122
wswebcreation merged 1 commit intomainfrom
fix/wdio-ics-options-type-augmentation

Conversation

@wswebcreation
Copy link
Member

@wswebcreation wswebcreation commented Feb 24, 2026

Summary

  • Fix incomplete wdio-ics:options type augmentation on WebdriverIO.Capabilities by using the WdioIcsOptions interface instead of an inline type with only logName
  • This ensures all supported properties (logName, name) are available to TypeScript users in both standalone and multiremote configurations
  • Removed the redundant wdio-ics:options workaround from tests/types/wdio.d.ts since the proper augmentation now covers it

Fixes #732

The global type augmentation for `wdio-ics:options` on `WebdriverIO.Capabilities`
was using an incomplete inline type with only `logName`. This replaces it with
the `WdioIcsOptions` interface which includes all supported properties (`logName`
and `name`), fixing TypeScript errors for users in both standalone and multiremote
configurations.

Fixes #732

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot
Copy link

changeset-bot bot commented Feb 24, 2026

🦋 Changeset detected

Latest commit: db82d6d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wdio/visual-service Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@wswebcreation wswebcreation merged commit cbf1d22 into main Feb 24, 2026
14 checks passed
@wswebcreation wswebcreation deleted the fix/wdio-ics-options-type-augmentation branch February 24, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeScript Error: '"wdio-ics:options"' does not exist in type 'RequestedStandaloneCapabilities'

1 participant