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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029719
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. PlatformminorN/A2015-04-28 16:302015-05-13 18:31
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR15Q3
StatusclosedFix in branchFixed in SCM revisionfc47b4b70148
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029719: Recover QUnit JavaScript test cases in CI

DescriptionThere is a framework to write JavaScript unit test cases based on QUnit already implemented in Openbravo and some test cases written using it. These test cases are not included in CI and therefore never executed.

They should be included in CI because it would make easier to write certain cases.

Some of them are currently failing.
Steps To ReproduceOpen test suite url [1] and check some cases are failing.

[1] http://localhost:8081/openbravo/web/org.openbravo.client.kernel/ui-test-suite/index.html?hidepassed [^]
Proposed Solution-Fix failing cases
-Update QUnit to latest available version (1.1.18)
-Adapt CI to include their execution
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0076833)
hgbot (developer)
2015-04-28 16:38

Repository: erp/devel/pi
Changeset: fc47b4b70148415f5fe558f328f4631a55b06cf5
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Apr 28 16:36:59 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fc47b4b70148415f5fe558f328f4631a55b06cf5 [^]

fixed issue 29719: Recover QUnit JavaSript test cases

  QUnit test cases are now ready to be included in CI:
   -QUnit library has been updated to latest version (1.1.18)
   -JavaScript files are loaded in a proper order to guarantee dependencies
   -Test cases create an Openbravo session not requiring to use a 2nd tab
   -Results are kept in a js object so Selenium can easily access

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-navbar-test.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-property-store-test.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/TestComponent.java
M modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/index.html
M modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/qunit/qunit.css
M modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/qunit/qunit.js
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/test/ob-myopenbravo-test.js
---
(0076844)
hgbot (developer)
2015-04-29 08:45

Repository: erp/devel/pi
Changeset: b586f2fd789c51e93d3d47074dddf812d79341ca
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 29 08:44:27 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b586f2fd789c51e93d3d47074dddf812d79341ca [^]

related to issue 29719: fixed jsLint

 - Do not use global functions exposed by QUnit but use the ones defined within
   the QUnit global object
 - Define QUnit as /*global*/ directive JSLint not to complain about it use

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-navbar-test.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-property-store-test.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-ui-test.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-utilities-date-test.js
M modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/index.html
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/test/ob-myopenbravo-test.js
---
(0076880)
hgbot (developer)
2015-04-29 17:46

Repository: erp/devel/pi
Changeset: 514824a645b5a265eab84d2881dce5981dc709be
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 29 17:45:24 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/514824a645b5a265eab84d2881dce5981dc709be [^]

related to issue 29719: fixed property store test

  CCU property is expected to be present

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-property-store-test.js
---
(0077174)
hudsonbot (developer)
2015-05-07 22:17

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/a1817f84bd8b [^]
Maturity status: Test
(0077176)
hudsonbot (developer)
2015-05-07 22:17

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/a1817f84bd8b [^]
Maturity status: Test
(0077185)
hudsonbot (developer)
2015-05-07 22:17

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/a1817f84bd8b [^]
Maturity status: Test
(0077364)
dmitry_mezentsev (developer)
2015-05-13 09:28

Ping. Not closed for 15 days!
(0077416)
AugustoMauch (manager)
2015-05-13 18:31

Code reviewed and verified in pi@bf874a971617

- Issue History
Date Modified Username Field Change
2015-04-28 16:30 alostale New Issue
2015-04-28 16:30 alostale Assigned To => platform
2015-04-28 16:30 alostale Modules => Core
2015-04-28 16:30 alostale Triggers an Emergency Pack => No
2015-04-28 16:31 alostale Status new => scheduled
2015-04-28 16:31 alostale Assigned To platform => alostale
2015-04-28 16:32 alostale Review Assigned To => AugustoMauch
2015-04-28 16:38 hgbot Checkin
2015-04-28 16:38 hgbot Note Added: 0076833
2015-04-28 16:38 hgbot Status scheduled => resolved
2015-04-28 16:38 hgbot Resolution open => fixed
2015-04-28 16:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fc47b4b70148415f5fe558f328f4631a55b06cf5 [^]
2015-04-29 08:45 hgbot Checkin
2015-04-29 08:45 hgbot Note Added: 0076844
2015-04-29 09:22 alostale Summary Recover QUnit JavaSript test cases in CI => Recover QUnit JavaScript test cases in CI
2015-04-29 17:46 hgbot Checkin
2015-04-29 17:46 hgbot Note Added: 0076880
2015-05-07 22:17 hudsonbot Checkin
2015-05-07 22:17 hudsonbot Note Added: 0077174
2015-05-07 22:17 hudsonbot Checkin
2015-05-07 22:17 hudsonbot Note Added: 0077176
2015-05-07 22:17 hudsonbot Checkin
2015-05-07 22:17 hudsonbot Note Added: 0077185
2015-05-13 09:28 dmitry_mezentsev Note Added: 0077364
2015-05-13 18:31 AugustoMauch Note Added: 0077416
2015-05-13 18:31 AugustoMauch Status resolved => closed
2015-05-13 18:31 AugustoMauch Fixed in Version => 3.0PR15Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker