Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can we use or override Jasmine expect in cucumber project? #955

Closed
rajivnw opened this issue Nov 26, 2022 · 1 comment
Closed

can we use or override Jasmine expect in cucumber project? #955

rajivnw opened this issue Nov 26, 2022 · 1 comment

Comments

@rajivnw
Copy link

rajivnw commented Nov 26, 2022

I would like to use Jasmine expect in cucumber project. Reason is, I created test using webdriverio and cucumber project. WebDriverIo have its own expect but that stop the test execution once it fail (hard-assert). I would like to run all the steps and fail at the end (soft-assert).

I would like to override or would like to use Jasmine
instead of WebDriverIO assert https://webdriver.io/docs/assertion

@christian-bromann
Copy link
Member

@rajivnw thanks for raising the issue.

Using Jasmine assertion library in a Cucumber project is currently not possible. There is currently an open issue to add soft assertions for expect-webdriverio. Please get involved you have interest in this. See also discussions in jestjs/jest#13205.

Closing as duplicate if #227

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

No branches or pull requests

2 participants