Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029719 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Openbravo ERP] A. Platform | minor | N/A | 2015-04-28 16:30 | 2015-05-13 18:31 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR15Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | fc47b4b70148 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0029719: Recover QUnit JavaScript test cases in CI | |||||||
Description | There 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 Reproduce | Open 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 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 (viewer) 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 (viewer) 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 (viewer) 2015-05-13 09:28 |
Ping. Not closed for 15 days! |
(0077416) AugustoMauch (administrator) 2015-05-13 18:31 |
Code reviewed and verified in pi@bf874a971617 |
![]() |
|||
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 | OBNetwork customer | => No |
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 |