Openbravo Issue Tracking System - POS2
View Issue Details
0050002POS2POSpublic2022-08-17 12:052022-12-01 12:56
gorka_gil 
Aaron_Alvarez 
normaltrivialN/A
closedfixed 
5
 
23Q1 
gorka_gil
No
0050002: Fix viewOrders from customer cypress test
Currently the test is checking for a fixed list of orders from a customer Jon doo.

Needed to change to create one order for Jon doo,
and check that at least there is one order or more from Jon doo
-
No tags attached.
Issue History
2022-08-17 12:05gorka_gilNew Issue
2022-08-17 12:05gorka_gilAssigned To => gorka_gil
2022-08-17 12:05gorka_gilTriggers an Emergency Pack => No
2022-09-21 12:41hgbotNote Added: 0141285
2022-10-26 16:56hgbotResolutionopen => fixed
2022-10-26 16:56hgbotStatusnew => closed
2022-10-26 16:56hgbotFixed in Version => 23Q1
2022-10-26 16:56hgbotNote Added: 0142601
2022-10-26 16:56hgbotNote Added: 0142602
2022-10-26 17:55hgbotNote Added: 0142609
2022-10-26 18:41hgbotNote Added: 0142622
2022-10-26 18:43Aaron_AlvarezAssigned Togorka_gil => Aaron_Alvarez
2022-10-26 18:43Aaron_AlvarezNote Added: 0142623
2022-10-26 18:43Aaron_AlvarezStatusclosed => new
2022-10-26 18:43Aaron_AlvarezResolutionfixed => open
2022-10-26 18:43Aaron_AlvarezFixed in Version23Q1 =>
2022-11-17 14:10hgbotNote Added: 0143795
2022-11-28 16:25hgbotNote Added: 0144205
2022-11-28 16:25hgbotNote Added: 0144206
2022-11-28 16:26hgbotNote Added: 0144207
2022-11-28 16:26hgbotNote Added: 0144208
2022-11-28 16:26hgbotNote Added: 0144209
2022-11-28 16:26hgbotNote Added: 0144210
2022-11-28 16:26hgbotNote Added: 0144211
2022-11-28 16:26hgbotNote Added: 0144212
2022-11-28 16:26hgbotNote Added: 0144213
2022-11-28 16:52gorka_gilStatusnew => scheduled
2022-11-28 16:52gorka_gilStatusscheduled => resolved
2022-11-28 16:52gorka_gilFixed in Version => 23Q1
2022-11-28 16:52gorka_gilResolutionopen => fixed
2022-11-28 16:52gorka_gilReview Assigned To => gorka_gil
2022-11-28 16:52gorka_gilStatusresolved => closed
2022-12-01 12:56hgbotNote Added: 0144306

Notes
(0141285)
hgbot   
2022-09-21 12:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1225 [^]
(0142601)
hgbot   
2022-10-26 16:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: fc5f5062a847145474a1ebcf0a1d27ab6b99bee2
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 26-10-2022 16:53:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/fc5f5062a847145474a1ebcf0a1d27ab6b99bee2 [^]

Fixed ISSUE-50002: Improve viewOrdersOfCustomer test

---
M web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/viewOrdersOfCustomer.spec.js
---
(0142602)
hgbot   
2022-10-26 16:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1225 [^]
(0142609)
hgbot   
2022-10-26 17:55   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a639f2962abf361dd299cabf93ffc78de0b9481c
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 26-10-2022 17:54:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a639f2962abf361dd299cabf93ffc78de0b9481c [^]

Revert "Fixed ISSUE-50002: Improve viewOrdersOfCustomer test" since it is failing to execute

This reverts commit fc5f5062a847145474a1ebcf0a1d27ab6b99bee2.

---
M web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/viewOrdersOfCustomer.spec.js
---
(0142622)
hgbot   
2022-10-26 18:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1316 [^]
(0142623)
Aaron_Alvarez   
2022-10-26 18:43   
reopening the issue
(0143795)
hgbot   
2022-11-17 14:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/918 [^]
(0144206)
hgbot   
2022-11-28 16:25   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: b561418ebb1c5e34b2e25860e2d09833fa6265df
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 28-11-2022 15:25:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b561418ebb1c5e34b2e25860e2d09833fa6265df [^]

Related to ISSUE-50002: Added data-testid to the loading of a data grid element.

---
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/DataGrid.jsx
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/LoadingRowRender.jsx
---
(0144205)
hgbot   
2022-11-28 16:25   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/918 [^]
(0144207)
hgbot   
2022-11-28 16:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 0e496536d7e45ccee9761e372a8f036414bf7a90
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 28-11-2022 15:25:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0e496536d7e45ccee9761e372a8f036414bf7a90 [^]

Related to ISSUE-50002: Fixed cypress test viewOrdersOfCustomer

---
M web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/viewOrdersOfCustomer.spec.js
---
(0144208)
hgbot   
2022-11-28 16:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 29d391fd7dda21e36a9e4ed2d620aacb375266e2
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 28-11-2022 15:25:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/29d391fd7dda21e36a9e4ed2d620aacb375266e2 [^]

Related to ISSUE-50002: Solved the problem with the requests for the orders when applying a customer filter.

---
M web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/viewOrdersOfCustomer.spec.js
---
(0144209)
hgbot   
2022-11-28 16:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 880f3ea9c3f5242e549fef33a5e1434704daa4f3
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 28-11-2022 15:25:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/880f3ea9c3f5242e549fef33a5e1434704daa4f3 [^]

Related to ISSUE-50002: Use data testid instead of normal classes

---
M web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/viewOrdersOfCustomer.spec.js
---
(0144210)
hgbot   
2022-11-28 16:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 6acf79d1c65559d7459e32d2e6e91cd8bfbb5e54
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 28-11-2022 15:25:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/6acf79d1c65559d7459e32d2e6e91cd8bfbb5e54 [^]

Related to ISSUE-50002: Refactor code

- Create the correct function to create an order
- Use fixture variables for inputs and expected results

---
A web-jspack/org.openbravo.pos2/src-test/cypress/fixtures/ViewOrdersOfCustomer.json
M web-jspack/org.openbravo.pos2/src-test/cypress/functions/customer.js
M web-jspack/org.openbravo.pos2/src-test/cypress/functions/ticket.js
M web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/viewOrdersOfCustomer.spec.js
---
(0144211)
hgbot   
2022-11-28 16:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 0412d9fb36790c9871841d1ed2346c0621e03b40
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 28-11-2022 15:25:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0412d9fb36790c9871841d1ed2346c0621e03b40 [^]

Related to ISSUE-50002: Code refactor

Added a commentary for future developments

---
M web-jspack/org.openbravo.pos2/src-test/cypress/fixtures/ViewOrdersOfCustomer.json
M web-jspack/org.openbravo.pos2/src-test/cypress/functions/customer.js
M web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/viewOrdersOfCustomer.spec.js
---
(0144212)
hgbot   
2022-11-28 16:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 224ce29981eb109cdd54de8d790cc6757b410054
Author: Aaron Alvarez <aaron.alvarez@openbravo.com>
Date: 28-11-2022 15:25:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/224ce29981eb109cdd54de8d790cc6757b410054 [^]

Related to ISSUE-50002: Code refactor

- Change function addAndPayCustomerTicket parameters to object
- Use addProduct and payTicket in addAndPayCustomerTicket function
- Added fixture for paymentMethod

---
M web-jspack/org.openbravo.pos2/src-test/cypress/fixtures/ViewOrdersOfCustomer.json
M web-jspack/org.openbravo.pos2/src-test/cypress/functions/ticket.js
M web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/viewOrdersOfCustomer.spec.js
---
(0144213)
hgbot   
2022-11-28 16:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1316 [^]
(0144306)
hgbot   
2022-12-01 12:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1396 [^]