Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0054920 | POS2 | Core | public | 2024-03-12 10:23 | 2024-03-12 10:23 |
Reporter | NaroaIriarte | ||||
Assigned To | AugustoMauch | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0054920: There is a test in BaseForm.test.jsx that fails when executed alone | ||||
Description | Inside this test file there is a test that is failing when executed alone. It is working fine if the whole test is executed at once but when the describe in which it is contained is executed, it is failing. It also fails when it is executed atomically (from the it). It seems that it is expecting a function to be called twice but when executed alone, that function is only called once. The test is this one: 'transform layout to single column in portrait mode' | ||||
Steps To Reproduce | Execute the whole test suite BaseForm.test.jsx -> it works Execute the describe section '<BaseForm> integration tests' -> a test fails Execute the test 'transform layout to single column in portrait mode' -> it fails | ||||
Proposed Solution | Maybe check if a before each condition in which the calls to the function are cleared up could solve this issue, and then assert it being called just once. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-03-12 10:23 | NaroaIriarte | New Issue | |||
2024-03-12 10:23 | NaroaIriarte | Assigned To | => AugustoMauch | ||
2024-03-12 10:23 | NaroaIriarte | Triggers an Emergency Pack | => No |
There are no notes attached to this issue. |