Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041214Retail ModulesTests Stabilizationpublic2019-02-25 12:302019-07-15 10:02
gorka_gil 
gorka_gil 
normalmajorN/A
closedfixed 
5
 
RR19Q1.2RR19Q1.2 
guilleaer
No
0041214: Make tests to wait for all mobile processes to finish in each action
The 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.
-
No tags attached.
blocks feature request 0040266 closed gorka_gil Make tests to wait for all mobile processes to finish in each action 
Issue History
2019-07-01 19:18gorka_gilTypefeature request => backport
2019-07-01 19:18gorka_gilTarget Version => RR19Q1.2
2019-07-01 19:23hgbotCheckin
2019-07-01 19:23hgbotNote Added: 0113126
2019-07-01 19:23hgbotStatusscheduled => resolved
2019-07-01 19:23hgbotResolutionopen => fixed
2019-07-01 19:23hgbotFixed in SCM revisionhttp://code.openbravo.com/tools/automation/pi-mobile/rev/b4f4b76885644345f8730fac4c9f6bd1dc424ca2 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/898c46e9953507395a47b802f9a98bd37b88268d [^]
2019-07-01 19:23hgbotCheckin
2019-07-01 19:23hgbotNote Added: 0113127
2019-07-01 19:23hgbotCheckin
2019-07-01 19:23hgbotNote Added: 0113128
2019-07-01 19:23hgbotCheckin
2019-07-01 19:23hgbotNote Added: 0113129
2019-07-01 19:29hgbotCheckin
2019-07-01 19:29hgbotNote Added: 0113132
2019-07-01 19:30hgbotCheckin
2019-07-01 19:30hgbotNote Added: 0113133
2019-07-08 18:48guilleaerReview Assigned Tomigueldejuana => guilleaer
2019-07-08 18:48guilleaerStatusresolved => closed
2019-07-08 18:48guilleaerFixed in Version => RR19Q1.2
2019-07-15 08:57hgbotCheckin
2019-07-15 08:57hgbotNote Added: 0113352
2019-07-15 08:57hgbotStatusclosed => resolved
2019-07-15 08:57hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/898c46e9953507395a47b802f9a98bd37b88268d [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/898c46e9953507395a47b802f9a98bd37b88268d [^]
2019-07-15 08:57hgbotCheckin
2019-07-15 08:57hgbotNote Added: 0113353
2019-07-15 08:57hgbotCheckin
2019-07-15 08:57hgbotNote Added: 0113354
2019-07-15 08:57hgbotCheckin
2019-07-15 08:57hgbotNote Added: 0113355
2019-07-15 10:02priyamNote Added: 0113359
2019-07-15 10:02priyamStatusresolved => closed

Notes
(0113126)
hgbot   
2019-07-01 19:23   
Repository: retail/backports/3.0RR19Q1.2/pi-mobile
Changeset: 898c46e9953507395a47b802f9a98bd37b88268d
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Feb 25 13:35:56 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/898c46e9953507395a47b802f9a98bd37b88268d [^]

Fixes issue 41214: 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
---
(0113127)
hgbot   
2019-07-01 19:23   
Repository: retail/backports/3.0RR19Q1.2/pi-mobile
Changeset: 4801e916b6ba686dd59752fb8d3a379d37d84a94
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Feb 25 18:54:32 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/4801e916b6ba686dd59752fb8d3a379d37d84a94 [^]

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

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/intuitive/IntuitiveCommandsMobileCore.java
---
(0113128)
hgbot   
2019-07-01 19:23   
Repository: retail/backports/3.0RR19Q1.2/pi-mobile
Changeset: 0e295dc28c11bb7cecbd36c7a21eee0ca15b4022
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Feb 26 16:03:40 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/0e295dc28c11bb7cecbd36c7a21eee0ca15b4022 [^]

Related to issue 41214: add tapNoWaitProcesses, for especial cases

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/intuitive/IntuitiveCommandsMobileCore.java
---
(0113129)
hgbot   
2019-07-01 19:23   
Repository: retail/backports/3.0RR19Q1.2/pi-mobile
Changeset: 157ba5676c975d42f26e97bb89e16ff896ce921a
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Feb 26 18:13:06 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/157ba5676c975d42f26e97bb89e16ff896ce921a [^]

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

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
---
(0113132)
hgbot   
2019-07-01 19:29   
Repository: retail/backports/3.0RR19Q1.2/org.openbravo.mobile.core
Changeset: 91e629057f3607677e9ec923f0d6d8191dd42f0a
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu Jun 27 19:22:18 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/org.openbravo.mobile.core/rev/91e629057f3607677e9ec923f0d6d8191dd42f0a [^]

Related to issue 41214: Fixed method getProcessesInExec, it was not returning correctly the processes in execution

---
M web/org.openbravo.mobile.core/source/utils/ob-processcontroller.js
---
(0113133)
hgbot   
2019-07-01 19:30   
Repository: retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal
Changeset: c2926c68b9bf4bff337b4f40950597fd3eb4c97f
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Feb 25 16:10:01 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal/rev/c2926c68b9bf4bff337b4f40950597fd3eb4c97f [^]

Related to issue 41214: Add missing finish to completeReceipt process

---
M web/org.openbravo.retail.posterminal/js/utils/ticketCloseUtils.js
---
(0113352)
hgbot   
2019-07-15 08:57   
Repository: tools/automation/pi-mobile
Changeset: 898c46e9953507395a47b802f9a98bd37b88268d
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/898c46e9953507395a47b802f9a98bd37b88268d [^]

Fixes issue 41214: 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
---
(0113353)
hgbot   
2019-07-15 08:57   
Repository: tools/automation/pi-mobile
Changeset: 4801e916b6ba686dd59752fb8d3a379d37d84a94
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/4801e916b6ba686dd59752fb8d3a379d37d84a94 [^]

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

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/intuitive/IntuitiveCommandsMobileCore.java
---
(0113354)
hgbot   
2019-07-15 08:57   
Repository: tools/automation/pi-mobile
Changeset: 0e295dc28c11bb7cecbd36c7a21eee0ca15b4022
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/0e295dc28c11bb7cecbd36c7a21eee0ca15b4022 [^]

Related to issue 41214: add tapNoWaitProcesses, for especial cases

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/intuitive/IntuitiveCommandsMobileCore.java
---
(0113355)
hgbot   
2019-07-15 08:57   
Repository: tools/automation/pi-mobile
Changeset: 157ba5676c975d42f26e97bb89e16ff896ce921a
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/157ba5676c975d42f26e97bb89e16ff896ce921a [^]

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

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
---
(0113359)
priyam   
2019-07-15 10:02   
closing this issue, The status changed to resolve as part of merge back to automation/pi-mobile on 19Q1.2 publish