codeceptjs / codeceptjs/CodeceptJS
For an assertion failures for the steps I.see or I.dontSee methods assertion error messages are not able to capture as it's not available in test object in hook method _failure(test)
- Lenguaje dominante
- JavaScript
- Estrellas
- 4.2k
- Forks
- 757
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 16
Descripción
#### What are you trying to achieve?
For an assertion failures for the steps I.see or I.dontSee methods assertion error messages should be able to capture
#### What do you get instead?
Not able to capture the error message as the same is not available in test object in hook method _failure(test).
Hence not able to capture assertion failure message in Allure report:
> Provide console output if related. Use `--verbose` mode for more details.
```bash
# paste output here
```
> Provide test source code if related
```js
// paste test
```
### Details
* CodeceptJS version: 3.6.4
* NodeJS Version: 20
* Operating System: MacOS
* Playwright
* Configuration file:
```js
# paste config here
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.