webdriverio/webdriverio

[🐛 Bug]: Typescript support for Custom matchers seems broken with V9

开放

#13,387 创建于 2024年8月18日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (1,793 个派生)batch import
Bug 🐛help wanted

仓库指标

星标
 (6,029 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

V9

Node.js Version

20

Mode

WDIO Testrunner

Which capabilities are you using?

No response

What happened?

When creating a new customer matcher and you want to use ExpectWebdriverIO.PartialMatcher you get a TS error Namespace 'global.ExpectWebdriverIO' has no exported member 'PartialMatcher'. This prevents the Visual Testing Service to upgrade to V9 without using a workaround. See also https://github.com/webdriverio/visual-testing/actions/runs/10442443274/job/28914748091?pr=417

What is your expected behavior?

No response

How to reproduce the bug.

Clone the Visual project and use this PR

Relevant log output

Namespace 'global.ExpectWebdriverIO' has no exported member 'PartialMatcher'

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

贡献者指南