Closed
Description
What are you trying to achieve?
Add a custom assertion to an async bdd step.
eg.,
Then(..., async () => {
const data = await I.grabTextFrom(...)
ok(data === 'foo')
}
What do you get instead?
the scenario is incorrectly marked successful and also raises an UnhandledPromiseRejectionWarning
Details
- CodeceptJS version: 2.0.4
- NodeJS Version: 8.11.4
- Operating System: Linux
- Puppeteer: 1.11.0
Metadata
Metadata
Assignees
Labels
No labels