Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052090 | POS2 | POS | public | 2023-04-11 10:32 | 2023-04-11 15:45 |
|
Reporter | andre_montenegro | |
Assigned To | asier_perez | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 23Q3 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | Automated tests |
Regression date | 2023-04-05 |
Regression introduced in release | |
Regression introduced by commit | https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.giftcards.pos2-sampledata/-/commit/26b63317484ad01e278bdbb5f44f36612d640d88 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0052090: Cypress tests fails when closing Till due not all payment methods are being taken in account when cash up |
Description | Failures are caused by the creation of "Gift Cards" as payment method, as they are not taken in account as payment method while closing till and then the Cypress function "cy.matchExpectedAllVisiblePMAmounts()" wrongly defines the number of payment methods to match as it takes the number from:
OB.App.State.getState().UI.cashupInProgress.paymentMethodsInfo.length
As OB.App.State.getState().UI.cashupInProgress.paymentMethodsInfo.length value is 5, test is searching for a 5th line when matching values and as it does not find it, test fails. |
Steps To Reproduce | Execute automatic Cypress tests. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | Cash Up tests -- Close Till -- Goes to Close Till window and completes Cash Up (failed).png (147,850) 2023-04-11 10:32 https://issues.openbravo.com/file_download.php?file_id=18357&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2023-04-11 10:32 | andre_montenegro | New Issue | |
2023-04-11 10:32 | andre_montenegro | Assigned To | => asier_perez |
2023-04-11 10:32 | andre_montenegro | File Added: Cash Up tests -- Close Till -- Goes to Close Till window and completes Cash Up (failed).png | |
2023-04-11 10:32 | andre_montenegro | OBNetwork customer | => No |
2023-04-11 10:32 | andre_montenegro | Regression level | => Automated tests |
2023-04-11 10:32 | andre_montenegro | Regression date | => 2023-04-05 |
2023-04-11 10:32 | andre_montenegro | Regression introduced by commit | => https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.giftcards.pos2-sampledata/-/commit/26b63317484ad01e278bdbb5f44f36612d640d88 [^] |
2023-04-11 10:32 | andre_montenegro | Triggers an Emergency Pack | => No |
2023-04-11 11:58 | hgbot | Merge Request Status | => open |
2023-04-11 11:58 | hgbot | Note Added: 0148358 | |
2023-04-11 12:10 | asier_perez | Status | new => scheduled |
2023-04-11 15:42 | hgbot | Merge Request Status | open => approved |
2023-04-11 15:45 | hgbot | Resolution | open => fixed |
2023-04-11 15:45 | hgbot | Status | scheduled => closed |
2023-04-11 15:45 | hgbot | Fixed in Version | => 23Q3 |
2023-04-11 15:45 | hgbot | Note Added: 0148363 | |
2023-04-11 15:45 | hgbot | Note Added: 0148364 | |