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)
- Ngôn ngữ chính
- JavaScript
- Star
- 4.2k
- Fork
- 757
- Merge trung bình
- 2 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 16
Mô tả
#### 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
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách lần theo phương thức hook `_failure(test)` của CodeceptJS đối với các lỗi assertion `I.see` và `I.dontSee` trong thiết lập Playwright. Xác minh thông báo assertion được lưu ở đâu và liệu báo cáo Allure có nhận được thông báo đó hay không; hoàn tất khi thông báo lỗi có sẵn cho hook và xuất hiện trong báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, node.js, playwright
- Lĩnh vực
- testing
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100