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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044406
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2020-06-18 10:012020-08-19 14:28
Reporterprakashmurugesan88View Statuspublic 
Assigned Toprakashmurugesan88 
PrioritynormalResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044406: Random tests failing in try while verifying MessageTableIsEmpty

DescriptionRandom tests failing in try while verifying MessageTableIsEmpty with following error,

"The javascript 'return ((await OB.App.SynchronizationBuffer.getPendingMessages()).length !== 0 || OB.App.State.getState().Messages.length !== 0);' has failed because: 'javascript error: Cannot read property 'transaction' of null'

#### Selenium driver exception: The javascript 'return ((await OB.App.SynchronizationBuffer.getPendingMessages()).length !== 0 || OB.App.State.getState().Messages.length !== 0);' has failed because: 'javascript error: Cannot read property 'transaction' of null' ####
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58'
System info: host: 'c18101', ip: '10.1.18.101', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-72-generic', java.version: '11.0.5'
Driver info: driver.version: unknown"

Seems it is trying to fetch PendingMessages before IndexedDB is Initialized
Steps To ReproduceTests failing randomly in try
Proposed SolutionEnsure IndexedDB is Initialized before verifying PendingMessages
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0053669 closedranjith_qualiantech_com Random selenium tests failing in chrome version 117 and above 

-  Notes
(0120913)
hgbot (developer)
2020-06-19 09:24

Repository: tools/automation/pi-mobile
Changeset: 1c3a23e03d8973e7c77ddb482356fd8daaba9a53
Author: Prakash M <prakash <at> qualiantech.com>
Date: Fri Jun 19 12:53:21 2020 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1c3a23e03d8973e7c77ddb482356fd8daaba9a53 [^]

Related to BUG-44406: Tests failing in trying on fetching PendingMessages

* Error occurs as it tries to PendingMessages before IndexedDB is Initialized
* Ensured the database is created before the check

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
---
(0122176)
hgbot (developer)
2020-08-19 14:28

Merge request closed: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/9 [^]

- Issue History
Date Modified Username Field Change
2020-06-18 10:01 prakashmurugesan88 New Issue
2020-06-18 10:01 prakashmurugesan88 Assigned To => prakashmurugesan88
2020-06-18 10:01 prakashmurugesan88 Triggers an Emergency Pack => No
2020-06-18 10:01 prakashmurugesan88 Status new => scheduled
2020-06-19 09:24 hgbot Checkin
2020-06-19 09:24 hgbot Note Added: 0120913
2020-06-25 15:13 prakashmurugesan88 Status scheduled => resolved
2020-06-25 15:13 prakashmurugesan88 Resolution open => fixed
2020-06-29 10:40 marvintm Review Assigned To => marvintm
2020-06-29 10:40 marvintm Status resolved => closed
2020-06-29 10:40 marvintm Fixed in Version => RR20Q3
2020-08-19 14:28 hgbot Note Added: 0122176
2023-10-18 11:09 ranjith_qualiantech_com Relationship added related to 0053669


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker