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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040266
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Tests StabilizationmajorN/A2019-02-25 12:302019-07-01 19:18
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionb4f4b7688564
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040266: Make tests to wait for all mobile processes to finish in each action

DescriptionThe web pos has defined many process like addproduct, addpayment, completeReceipt, etc

The tests could make use of them so in each tap, wait for all processes to finish, before continue with the test.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0041214RR19Q1.2 closedgorka_gil Make tests to wait for all mobile processes to finish in each action 
related to defect 0040348 closedgorka_gil pi-mobile: wait for process to finish or till a new popup is opened 

-  Notes
(0110070)
hgbot (developer)
2019-02-25 16:13

Repository: tools/automation/pi-mobile
Changeset: b4f4b76885644345f8730fac4c9f6bd1dc424ca2
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Feb 25 13:35:56 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b4f4b76885644345f8730fac4c9f6bd1dc424ca2 [^]

Fixes issue 40266: Added functionality to wait for the finish of mobile processes

After each tap the tests will wait for all processes to finish before continue

Remove the use of verifyThatTheLoginProcessHasStarted and verifyThatTheLoginProcessHasEnded
Since replaced with the wait for processes

Fixed the current method verifyAllProcessesFinished to use the new API.

---
M src-test/org/openbravo/test/mobile/core/utils/OBConstants.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/terminals/WebPOSExtModulesTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/intuitive/IntuitiveCommandsMobileCore.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/selenium/terminals/MobileCoreTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/utils/RetailUtils.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSTerminalHelper.java
---
(0110071)
hgbot (developer)
2019-02-25 16:13

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: dbc8014027ce08474558fcce1c8b1fb409d3bd7f
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Feb 25 12:54:06 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/dbc8014027ce08474558fcce1c8b1fb409d3bd7f [^]

Related to issue 40266: Add status to mobile processes

This helps to know if the process is in status running or
waiting for an user action.

Fixed method getProcessesInExec, it was not returning correctly
the processes in execution

Added also methods to pause and resume the processes and
functions to returns the current processes in each status.

---
M web/org.openbravo.mobile.core/source/utils/ob-processcontroller.js
---
(0110072)
hgbot (developer)
2019-02-25 16:13

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ed89c2c2c4822b956704ad20ef27fc17c54c5de5
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Feb 25 16:10:01 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ed89c2c2c4822b956704ad20ef27fc17c54c5de5 [^]

Related to issue 40266: Add paused status to processes that opens a popup that require user action

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/utils/ticketCloseUtils.js
---
(0110082)
hgbot (developer)
2019-02-26 11:49

Repository: tools/automation/pi-mobile
Changeset: 5855061c449b6bb2c9a025033657e2b2451715e2
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Feb 25 18:54:32 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5855061c449b6bb2c9a025033657e2b2451715e2 [^]

Related to issue 40266: add waitToFinishAllProcesses after write in a field

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/intuitive/IntuitiveCommandsMobileCore.java
---
(0110084)
hgbot (developer)
2019-02-26 16:04

Repository: tools/automation/pi-mobile
Changeset: 2ba1b7513e0db0aaf11913a64cedc4cd1341fe90
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Feb 26 16:03:40 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2ba1b7513e0db0aaf11913a64cedc4cd1341fe90 [^]

Related to issue 40266: add tapNoWaitProcesses, for especial cases

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/intuitive/IntuitiveCommandsMobileCore.java
---
(0110085)
migueldejuana (developer)
2019-02-26 16:44

- No need to create a var with values, set directly vstring values like "waiting", "running":
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/dbc8014027ce08474558fcce1c8b1fb409d3bd7f#l1.15 [^]
(0110092)
hgbot (developer)
2019-02-26 18:14

Repository: tools/automation/pi-mobile
Changeset: 354f1a51416d2f5b8bcbd2a6aa2e53b0a0af4722
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Feb 26 18:13:06 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/354f1a51416d2f5b8bcbd2a6aa2e53b0a0af4722 [^]

Related to issue 40266: show running processes when a test fail because waitingForProcesses

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
---
(0110132)
migueldejuana (developer)
2019-02-28 18:16

https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/479dedcf529c [^]
(0110133)
migueldejuana (developer)
2019-02-28 18:17

Tested and reviewed
(0110159)
hgbot (developer)
2019-03-01 18:37

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7b277839e0521b775a5f6eb67b46769f98b4dc12
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Mar 01 18:37:09 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7b277839e0521b775a5f6eb67b46769f98b4dc12 [^]

Related to issue 40266: Added pause/resume of tapDoneButton process for aproval popup for underpayment

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0110700)
hgbot (developer)
2019-03-27 16:12

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 22f1baee90be1c9bda4295d5361683780e709c17
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Mar 26 14:24:00 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/22f1baee90be1c9bda4295d5361683780e709c17 [^]

Related to issue 40348. Backout of issue 40266. Remove retail process status feature

---
M web/org.openbravo.mobile.core/source/utils/ob-processcontroller.js
---
(0110702)
hgbot (developer)
2019-03-27 16:12

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5de78866739b4a5dbe05bac59183d8d11c920f96
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Mar 26 14:33:43 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5de78866739b4a5dbe05bac59183d8d11c920f96 [^]

Related to issue 40348. Backout of issue 40266. Remove retail process status feature

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---

- Issue History
Date Modified Username Field Change
2019-02-25 12:30 gorka_gil New Issue
2019-02-25 12:30 gorka_gil Assigned To => gorka_gil
2019-02-25 12:30 gorka_gil Triggers an Emergency Pack => No
2019-02-25 12:30 gorka_gil Status new => scheduled
2019-02-25 13:56 gorka_gil Review Assigned To => migueldejuana
2019-02-25 16:13 hgbot Checkin
2019-02-25 16:13 hgbot Note Added: 0110070
2019-02-25 16:13 hgbot Status scheduled => resolved
2019-02-25 16:13 hgbot Resolution open => fixed
2019-02-25 16:13 hgbot Fixed in SCM revision => http://code.openbravo.com/tools/automation/pi-mobile/rev/b4f4b76885644345f8730fac4c9f6bd1dc424ca2 [^]
2019-02-25 16:13 hgbot Checkin
2019-02-25 16:13 hgbot Note Added: 0110071
2019-02-25 16:13 hgbot Checkin
2019-02-25 16:13 hgbot Note Added: 0110072
2019-02-26 11:49 hgbot Checkin
2019-02-26 11:49 hgbot Note Added: 0110082
2019-02-26 16:04 hgbot Checkin
2019-02-26 16:04 hgbot Note Added: 0110084
2019-02-26 16:44 migueldejuana Note Added: 0110085
2019-02-26 16:44 migueldejuana Status resolved => new
2019-02-26 16:44 migueldejuana Resolution fixed => open
2019-02-26 18:14 hgbot Checkin
2019-02-26 18:14 hgbot Note Added: 0110092
2019-02-28 10:21 gorka_gil Status new => scheduled
2019-02-28 10:21 gorka_gil Status scheduled => resolved
2019-02-28 10:21 gorka_gil Resolution open => fixed
2019-02-28 18:16 migueldejuana Note Added: 0110132
2019-02-28 18:17 migueldejuana Note Added: 0110133
2019-02-28 18:17 migueldejuana Status resolved => closed
2019-03-01 18:37 hgbot Checkin
2019-03-01 18:37 hgbot Note Added: 0110159
2019-03-11 12:03 gorka_gil Relationship added related to 0040348
2019-03-27 16:12 hgbot Checkin
2019-03-27 16:12 hgbot Note Added: 0110700
2019-03-27 16:12 hgbot Checkin
2019-03-27 16:12 hgbot Note Added: 0110702
2019-07-01 19:17 gorka_gil Status closed => new
2019-07-01 19:17 gorka_gil Resolution fixed => open
2019-07-01 19:18 gorka_gil Status new => scheduled
2019-07-01 19:18 gorka_gil Status scheduled => resolved
2019-07-01 19:18 gorka_gil Resolution open => fixed
2019-07-01 19:18 gorka_gil Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker