-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
latest
Node.js Version
18
Mode
WDIO Testrunner
Which capabilities are you using?
No response
What happened?
I get an error: TypeError: globals.get(...)[matcher] is not a function
What is your expected behavior?
No response
How to reproduce the bug.
Initiate a new project (Jasmine and Typescript was chosen in my case) with the latest versions and I use the new matchers like so:
await expect(SecurePage.flashAlert).toHaveText(expect.stringContaining(
'You logged into a secure area!'))Relevant log output
TypeError: globals.get(...)[matcher] is not a functionCode 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
Reactions are currently unavailable