-
-
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
8
Node.js Version
19
Mode
WDIO Testrunner
Which capabilities are you using?
No response
What happened?
When running wdio tests, every test case fails with "Unknown error." when you have failSpecWithNoExpectations:true in your jasmineOpts.
What is your expected behavior?
Tests pass (except those that shouldn't)
How to reproduce the bug.
- New Angular app
- Add wdio via schematic
- local machine, jasmine, typescript, example tests & page objects, spec & allure, wait-for, chromedriver
- You might need to install @wdio/cli yourself in addition
- You might need to fix the spec path in wdio.conf.ts
- Run wdio tests -> it works
- Add failSpecWithNoExpectations:true to jasmineOpts
- Run wdio tests -> "Unknown error."
Relevant log output
Unknown error.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
Reactions are currently unavailable