Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0046008 | Openbravo ERP | A. Platform | public | 2021-03-04 18:57 | 2021-03-15 10:05 |
|
| Reporter | cberner | |
| Assigned To | cberner | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | PR21Q2 | |
| Merge Request Status | approved |
| Review Assigned To | |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0046008: Jest tests don't fail if console.error and console.warn are generated |
| Description | A jest test should fail if it shows a console.error or console.warn, this is not happening by default, jest doesn't check this.
This check would make sure jest execution's are clean and free of errors and warnings.
Note: If a test intentionally throws a console.error or console.warn, it should mock it accordingly and expect it. |
| Steps To Reproduce | Add a console.error/console.warn to some successful jest test.
Run that jest test, with current behaviour it will be green although some console.error/warn will appear in the process. |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0051685 | | closed | Triage Platform Base | POS2 | Storyshots tests failing by asynchronous GridDataSource |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2021-03-04 18:57 | cberner | New Issue | |
| 2021-03-04 18:57 | cberner | Assigned To | => cberner |
| 2021-03-04 18:57 | cberner | OBNetwork customer | => No |
| 2021-03-04 18:57 | cberner | Modules | => Core |
| 2021-03-04 18:57 | cberner | Triggers an Emergency Pack | => No |
| 2021-03-04 19:02 | hgbot | Merge Request Status | => open |
| 2021-03-04 19:02 | hgbot | Note Added: 0126505 | |
| 2021-03-09 11:04 | hgbot | Note Added: 0126563 | |
| 2021-03-14 17:12 | hgbot | Merge Request Status | open => approved |
| 2021-03-15 10:04 | hgbot | Note Added: 0126694 | |
| 2021-03-15 10:05 | hgbot | Note Added: 0126695 | |
| 2021-03-15 10:05 | hgbot | Resolution | open => fixed |
| 2021-03-15 10:05 | hgbot | Status | new => closed |
| 2021-03-15 10:05 | hgbot | Fixed in Version | => PR21Q2 |
| 2021-03-15 10:05 | hgbot | Note Added: 0126696 | |
| 2021-03-15 10:05 | hgbot | Note Added: 0126697 | |
| 2023-02-23 17:28 | jarmendariz | Relationship added | related to 0051685 |
|
Notes |
|
|
(0126505)
|
|
hgbot
|
|
2021-03-04 19:02
|
|
|
|
|
(0126563)
|
|
hgbot
|
|
2021-03-09 11:04
|
|
|
|
|
(0126694)
|
|
hgbot
|
|
2021-03-15 10:04
|
|
|
|
|
(0126695)
|
|
hgbot
|
|
2021-03-15 10:05
|
|
|
|
|
(0126696)
|
|
hgbot
|
|
2021-03-15 10:05
|
|
|
|
|
(0126697)
|
|
hgbot
|
|
2021-03-15 10:05
|
|
|