Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0044757 | Retail Modules | Web POS | public | 2020-08-05 14:08 | 2020-08-05 14:25 |
Reporter | jarmendariz | ||||
Assigned To | jarmendariz | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR20Q4 | |||
Merge Request Status | approved | ||||
Review Assigned To | alostale | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0044757: SynchronizationBuffer unit test is not testing the subject's behavior | ||||
Description | Test 'when IndexedDB persist fails'.'isReceivingMessages flag is set to false even when persist fails' checks that this.isReceivingMessages is false. This test will always pass because it should check the isReceivingMessages property in SynchronizationBuffer instance. | ||||
Steps To Reproduce | 1- Execute 'isReceivingMessages flag is set to false even when persist fails' test in SynchronizationBuffer.test.js. Chech that it passes. 2- Change the following line in SynchronizationBuffer.js: try { await OB.App.MessageModelController.put(messages); } finally { // Comment the following line to force the test to fail // this.isReceivingMessages = false; } 3- Run again 'isReceivingMessages flag is set to false even when persist fails'. Check that the test still passes even if it's supposed to fail. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-08-05 14:08 | jarmendariz | New Issue | |||
2020-08-05 14:08 | jarmendariz | Assigned To | => jarmendariz | ||
2020-08-05 14:08 | jarmendariz | OBNetwork customer | => No | ||
2020-08-05 14:08 | jarmendariz | Triggers an Emergency Pack | => No | ||
2020-08-05 14:09 | jarmendariz | Review Assigned To | => alostale | ||
2020-08-05 14:09 | jarmendariz | Status | new => scheduled | ||
2020-08-05 14:22 | hgbot | Merge Request Status | => open | ||
2020-08-05 14:22 | hgbot | Note Added: 0121854 | |||
2020-08-05 14:25 | hgbot | Merge Request Status | open => approved | ||
2020-08-05 14:25 | hgbot | Note Added: 0121855 | |||
2020-08-05 14:25 | hgbot | Resolution | open => fixed | ||
2020-08-05 14:25 | hgbot | Status | scheduled => closed | ||
2020-08-05 14:25 | hgbot | Fixed in Version | => RR20Q4 | ||
2020-08-05 14:25 | hgbot | Note Added: 0121856 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|