Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052090
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-04-11 10:322023-04-11 15:45
Reporterandre_montenegroView Statuspublic 
Assigned Toasier_perez 
PriorityhighResolutionfixedFixed in Version23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression levelAutomated tests
Regression date2023-04-05
Regression introduced in release
Regression introduced by commithttps://gitlab.com/openbravo/ci/modules/org.openbravo.retail.giftcards.pos2-sampledata/-/commit/26b63317484ad01e278bdbb5f44f36612d640d88 [^]
Triggers an Emergency PackNo
Summary

0052090: Cypress tests fails when closing Till due not all payment methods are being taken in account when cash up

DescriptionFailures 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 ReproduceExecute automatic Cypress tests.
TagsNo tags attached.
Attached Filespng file icon Cash Up tests -- Close Till -- Goes to Close Till window and completes Cash Up (failed).png [^] (147,850 bytes) 2023-04-11 10:32

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker