Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052090 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2023-04-11 10:32 | 2023-04-11 15:45 | |||
Reporter | andre_montenegro | View Status | public | |||||
Assigned To | asier_perez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 23Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0148358) hgbot (developer) 2023-04-11 11:58 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1681 [^] |
(0148363) hgbot (developer) 2023-04-11 15:45 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 7f7477f641a45fae589c31da474027d37b49be21 Author: Asier Perez <asier.perez@openbravo.com> Date: 11-04-2023 14:00:39 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/7f7477f641a45fae589c31da474027d37b49be21 [^] Fixes ISSUE-52090: Cypress tests fails when closing Till due not all payment methods are being taken in account when cash up --- M web-jspack/org.openbravo.pos2/src-test/cypress/functions/countMoney.js --- |
(0148364) hgbot (developer) 2023-04-11 15:45 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1681 [^] |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |