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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041214
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Tests StabilizationmajorN/A2019-02-25 12:302019-07-15 10:02
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PrioritynormalResolutionfixedFixed in VersionRR19Q1.2
StatusclosedFix in branchFixed in SCM revision898c46e99535
ProjectionnoneETAnoneTarget VersionRR19Q1.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041214: 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 ]
blocks feature request 0040266 closedgorka_gil Make tests to wait for all mobile processes to finish in each action 

-  Notes
(0113126)
hgbot (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (administrator)
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

- Issue History
Date Modified Username Field Change
2019-07-01 19:18 gorka_gil Type feature request => backport
2019-07-01 19:18 gorka_gil Target Version => RR19Q1.2
2019-07-01 19:23 hgbot Checkin
2019-07-01 19:23 hgbot Note Added: 0113126
2019-07-01 19:23 hgbot Status scheduled => resolved
2019-07-01 19:23 hgbot Resolution open => fixed
2019-07-01 19:23 hgbot Fixed in SCM revision http://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:23 hgbot Checkin
2019-07-01 19:23 hgbot Note Added: 0113127
2019-07-01 19:23 hgbot Checkin
2019-07-01 19:23 hgbot Note Added: 0113128
2019-07-01 19:23 hgbot Checkin
2019-07-01 19:23 hgbot Note Added: 0113129
2019-07-01 19:29 hgbot Checkin
2019-07-01 19:29 hgbot Note Added: 0113132
2019-07-01 19:30 hgbot Checkin
2019-07-01 19:30 hgbot Note Added: 0113133
2019-07-08 18:48 guilleaer Review Assigned To migueldejuana => guilleaer
2019-07-08 18:48 guilleaer Status resolved => closed
2019-07-08 18:48 guilleaer Fixed in Version => RR19Q1.2
2019-07-15 08:57 hgbot Checkin
2019-07-15 08:57 hgbot Note Added: 0113352
2019-07-15 08:57 hgbot Status closed => resolved
2019-07-15 08:57 hgbot Fixed in SCM revision http://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:57 hgbot Checkin
2019-07-15 08:57 hgbot Note Added: 0113353
2019-07-15 08:57 hgbot Checkin
2019-07-15 08:57 hgbot Note Added: 0113354
2019-07-15 08:57 hgbot Checkin
2019-07-15 08:57 hgbot Note Added: 0113355
2019-07-15 10:02 priyam Note Added: 0113359
2019-07-15 10:02 priyam Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker