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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041216
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Tests StabilizationminorN/A2019-03-11 12:022019-07-15 10:02
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PrioritynormalResolutionfixedFixed in VersionRR19Q1.2
StatusclosedFix in branchFixed in SCM revisiona541d8291406
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

0041216: pi-mobile: wait for process to finish or till a new popup is opened

DescriptionIn this issue:
https://issues.openbravo.com/view.php?id=40266 [^]

Pi-mobile was changed to wait for the finish of all processes after all taps and writes.

As part of this change was needed to introduce the pause and resume of process when a popup is opened, so the tests can write in that popup.

The problem is that this popup sometimes is opened as part of a hook, and inside the hook don't have the process id to do a pause/resume of the process.


The new idea is instead do a pause/resume of the processes is that the tests wait for the end of the process or if a new popup is opened. For that, before a tap should be needed to save the number of opened popups and after the tap, check that the number of opened popups has not increase.

The problem with this new idea is that some actions don't open a popup, for example the write of user and pass in the authorization popup for prepayment.
And for this cases is needed a tap or write that don't wait for processes.

Some of the are a bit risky, like for example the click on search for giftcards or creditnotes, that do a request to the backend, and don't wait for the processes in these cases is not very good.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0040348 closedgorka_gil pi-mobile: wait for process to finish or till a new popup is opened 

-  Notes
(0113130)
hgbot (developer)
2019-07-01 19:23

Repository: retail/backports/3.0RR19Q1.2/pi-mobile
Changeset: a541d8291406c9ad17756b94858101f7d2d619ba
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Mar 26 13:49:35 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/a541d8291406c9ad17756b94858101f7d2d619ba [^]

Fixes issue 41216: wait for process to finish or till a new popup is opened

---
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/EnyoNode.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/utils/RetailUtils.java
---
(0113131)
hgbot (developer)
2019-07-01 19:23

Repository: retail/backports/3.0RR19Q1.2/pi-mobile
Changeset: 1b8880b0ab2a6bcb8f791682178094e20d74bdcb
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Mar 26 19:54:09 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/1b8880b0ab2a6bcb8f791682178094e20d74bdcb [^]

Related to issue 41216: improve the waitProcesses so if the current processes are the same that the previous ones, no need to wait

---
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/EnyoNode.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/utils/RetailUtils.java
---
(0113356)
hgbot (developer)
2019-07-15 08:57

Repository: tools/automation/pi-mobile
Changeset: a541d8291406c9ad17756b94858101f7d2d619ba
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Mar 26 13:49:35 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a541d8291406c9ad17756b94858101f7d2d619ba [^]

Fixes issue 41216: wait for process to finish or till a new popup is opened

---
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/EnyoNode.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/utils/RetailUtils.java
---
(0113357)
hgbot (developer)
2019-07-15 08:58

Repository: tools/automation/pi-mobile
Changeset: 1b8880b0ab2a6bcb8f791682178094e20d74bdcb
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Mar 26 19:54:09 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1b8880b0ab2a6bcb8f791682178094e20d74bdcb [^]

Related to issue 41216: improve the waitProcesses so if the current processes are the same that the previous ones, no need to wait

---
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/EnyoNode.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/utils/RetailUtils.java
---
(0113358)
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:20 gorka_gil Type defect => backport
2019-07-01 19:20 gorka_gil Target Version => RR19Q1.2
2019-07-01 19:23 hgbot Checkin
2019-07-01 19:23 hgbot Note Added: 0113130
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/7d553108f4a028616b03ba208adac11b1cdde7be [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1.2/pi-mobile/rev/a541d8291406c9ad17756b94858101f7d2d619ba [^]
2019-07-01 19:23 hgbot Checkin
2019-07-01 19:23 hgbot Note Added: 0113131
2019-07-08 18:48 guilleaer Review Assigned To marvintm => 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: 0113356
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/a541d8291406c9ad17756b94858101f7d2d619ba [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/a541d8291406c9ad17756b94858101f7d2d619ba [^]
2019-07-15 08:58 hgbot Checkin
2019-07-15 08:58 hgbot Note Added: 0113357
2019-07-15 10:02 priyam Note Added: 0113358
2019-07-15 10:02 priyam Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker