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)

オープン
#4,464 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
stale
主要言語
JavaScript
スター
4.2k
フォーク
757
平均マージ
2日 9時間
マージ済み PR(30日)
16

説明

#### 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).
Screenshot 2024-08-21 at 11 27 11 AM

Hence not able to capture assertion failure message in Allure report:
Screenshot 2024-08-21 at 11 30 13 AM

> 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
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。