Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030635Retail ModulesWeb POSpublic2015-08-22 20:422015-09-07 00:13
Orekaria 
Retail 
normalminorsometimes
newopen 
5
 
 
No
0030635: Automation: The 'GoodMovementstest' test is failing
Automation: The GoodMovements test is failing

Error: Cannot read property 'properties' of null

      https://ci.openbravo.com/view/try-retail/job/try-ret-modules-oracle/581/artifact/SANDBOX/automation/pi-mobile-try/last-results/try-ret-modules-oracle/screenshots/13%3A59%3A13%20FAILED%3A%20GoodsMovementTest.png [^]
      https://ci.openbravo.com/view/try-retail/job/try-ret-modules-oracle/581/testReport/org.openbravo.test.mobile.retail.extmodules.selenium.tests.warehouse/GoodsMovementTest/test/ [^]

      view-source:https://ci.openbravo.com/view/try-retail/job/try-ret-modules-oracle/581/artifact/SANDBOX/webapp/web/js/gen/8104d704e8f86b4fc4d71ef544503623_OBWH.js [^]

        documentChanged: function () {
          this.$.details.setDocument(this.document);
          this.document.on('add remove reset', function () {
            if (this.document.length) {
              this.$.totalLines.show();
              this.$.totalLines.setContent(OB.I18N.getLabel('OBWH_NumLines', [this.document.length]));
            } else {
              this.$.totalLines.hide();
            }
          }, this);
          this.document.on('click', function (line) {
            this.doSelectedDocLine({
              line: line
            });
          }, this);
          this.document.properties.on('change:editing', function () { // here
            var editing = this.document.properties.get('editing');
            this.$.document.setShowing(editing);
            this.$.startDocument.setShowing(!editing);

            if (!editing) {
              this.$.startDocument.setCreatedDocName(this.document.properties.get('createdDocName'));
            }
          }, this);
        },

Execute the test several times until the error raises
or
Activate the test again and watch it in try (could be related to the activity done in previous tests)
No tags attached.
blocks defect 0030603RR15Q4 closed Orekaria Stabilization: RR15Q4 related issues 
Issue History
2015-08-22 20:42OrekariaNew Issue
2015-08-22 20:42OrekariaAssigned To => Orekaria
2015-08-22 20:42OrekariaTriggers an Emergency Pack => No
2015-08-22 20:42OrekariaAssigned ToOrekaria => Retail
2015-08-22 20:42OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9247#r9247
2015-08-22 20:42OrekariaRelationship addedblocks 0030603
2015-08-22 20:45hgbotCheckin
2015-08-22 20:45hgbotNote Added: 0079627
2015-08-22 20:46OrekariaSummaryAutomation: The GoodMovements test is failing => Automation: The 'GoodMovementstest' test is failing
2015-09-07 00:13hgbotCheckin
2015-09-07 00:13hgbotNote Added: 0080162

Notes
(0079627)
hgbot   
2015-08-22 20:45   
Repository: tools/automation/pi-mobile
Changeset: b42e47e16139cd53ed891cf93896e3375d51d1d4
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Sat Aug 22 20:44:39 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b42e47e16139cd53ed891cf93896e3375d51d1d4 [^]

Related to issue 30635: Added '@TestAnnotations(waitFixOf=30635)' to the 'GoodsMovementTest' test

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/warehouse/GoodsMovementTest.java
---
(0080162)
hgbot   
2015-09-07 00:13   
Repository: tools/automation/pi-mobile
Changeset: 5d305c5b4b3ba5c15f259ce9ceb300abbbf4ba88
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Sun Sep 06 23:23:34 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5d305c5b4b3ba5c15f259ce9ceb300abbbf4ba88 [^]

Related to issue 30635: Allow to retry the 'GoodsMovementTest' test

- the problem now is that, with the high volumen suite, the test is failing at login. It seemas that the login button is disabled and then enabled again, and the test is trying to tap in the very moment in which the button is disabled. This could also be related to the fact that the test is being executed in the first place and the server could not be ready

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/warehouse/GoodsMovementTest.java
---