Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029181 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2015-03-08 05:57 | 2015-06-11 17:56 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR15Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3ea7563a69cf | ||||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | Orekaria | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0029181: Running js unit tests locally results in js error | |||||||
Description | When running these tests in a local machine: https://code.openbravo.com/tools/automation/pi-mobile-sandbox/file/16fe952b5550/src-test/org/openbravo/test/mobile/retail/extmodules/unittest [^] I get a js error because the global var testSuite is not defined. | |||||||
Steps To Reproduce | Start OB Start selenium Run unit test suite | |||||||
Proposed Solution | Instead of using a global var called: testSuite change to the more common approach of using the OB namespace, for example: OB.POS.JSUNITTEST | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0075271) hgbot (developer) 2015-03-08 07:12 |
Repository: erp/pmods/org.openbravo.retail.unittest Changeset: c53026aa59f5fb096816319e6c91f017ca3dd579 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Sun Mar 08 07:11:51 2015 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.unittest/rev/c53026aa59f5fb096816319e6c91f017ca3dd579 [^] Related to issue 29181: Running js unit tests locally results in js error Introduce correct global namespace for js unit test runs --- M web/org.openbravo.retail.unittest/source/discount-tests.js --- |
(0075288) hgbot (developer) 2015-03-09 00:21 |
Repository: tools/automation/pi-mobile Changeset: ee286b4fae6909f41322cfabdddcdefface76934 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Sun Mar 08 07:14:25 2015 +0100 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ee286b4fae6909f41322cfabdddcdefface76934 [^] Fixes issue 29181: Running js unit tests locally results in js error (I & II) Changed calls to use correct new global object containing the unit tests --- M src-test/org/openbravo/test/mobile/common/unittest/terminals/UnitTestTerminalNonSecure.java M src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/discounts/CombosUnitTest.java M src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/discounts/PriceListIncludingTaxesUnitTest.java M src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/discounts/PriceListNotIncludingTaxesUnitTest.java M src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/discounts/TaxZonesUnitTest.java --- |
(0077818) hgbot (developer) 2015-05-27 16:05 |
Repository: tools/automation/pi-mobile Changeset: 3ea7563a69cf77a8bcdebac39f52ce131ad8459f Author: Martin Taal <martin.taal <at> openbravo.com> Date: Sun Mar 08 07:14:25 2015 +0100 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3ea7563a69cf77a8bcdebac39f52ce131ad8459f [^] Fixes issue 29181: Running js unit tests locally results in js error (I & II) Changed calls to use correct new global object containing the unit tests --- M src-test/org/openbravo/test/mobile/common/unittest/terminals/UnitTestTerminalNonSecure.java M src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/discounts/CombosUnitTest.java M src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/discounts/PriceListIncludingTaxesUnitTest.java M src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/discounts/PriceListNotIncludingTaxesUnitTest.java M src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/discounts/TaxZonesUnitTest.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2015-03-08 05:57 | mtaal | New Issue | |
2015-03-08 05:57 | mtaal | Assigned To | => mtaal |
2015-03-08 05:57 | mtaal | Triggers an Emergency Pack | => No |
2015-03-08 05:57 | mtaal | Description Updated | View Revisions |
2015-03-08 07:12 | hgbot | Checkin | |
2015-03-08 07:12 | hgbot | Note Added: 0075271 | |
2015-03-09 00:21 | hgbot | Checkin | |
2015-03-09 00:21 | hgbot | Note Added: 0075288 | |
2015-03-09 00:21 | hgbot | Status | new => resolved |
2015-03-09 00:21 | hgbot | Resolution | open => fixed |
2015-03-09 00:21 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/tools/automation/pi-mobile/rev/ee286b4fae6909f41322cfabdddcdefface76934 [^] |
2015-03-13 11:05 | Orekaria | Review Assigned To | => Orekaria |
2015-03-13 11:05 | Orekaria | Status | resolved => closed |
2015-03-13 11:05 | Orekaria | Fixed in Version | => RR15Q2 |
2015-05-27 16:05 | hgbot | Checkin | |
2015-05-27 16:05 | hgbot | Note Added: 0077818 | |
2015-05-27 16:05 | hgbot | Status | closed => resolved |
2015-05-27 16:05 | hgbot | Fixed in SCM revision | http://code.openbravo.com/tools/automation/pi-mobile/rev/ee286b4fae6909f41322cfabdddcdefface76934 [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/3ea7563a69cf77a8bcdebac39f52ce131ad8459f [^] |
2015-06-11 17:56 | marvintm | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |