Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018678Openbravo ERPA. Platformpublic2011-10-03 18:472011-10-12 18:18
plujan 
mtaal 
immediatemajorhave not tried
closedfixed 
5
pi 
3.0MP4 
Mozilla Firefox
Core
No
0018678: Procurement Selenium test is failing on record counting for the grid
Error Message

 Expected: is <1> got: <0>
Stacktrace

junit.framework.AssertionFailedError:
Expected: is <1>
     got: <0>

Expected: is <1>
     got: <0>

    at com.openbravo.test.integration.erp.modules.client.application.gui.OBStandardView.assertCount(OBStandardView.java:396)
    at com.openbravo.test.integration.erp.modules.client.application.gui.GeneratedTab.assertCount(GeneratedTab.java:544)
    at com.openbravo.test.integration.erp.testscripts.SmokeTabScript.assertCount(SmokeTabScript.java:185)
    at com.openbravo.test.integration.erp.testsuites.smoke.procurement.PROb_OrderAndPaymentToInvoice.PROb_CreatePurchaseOrderPaymentAndInvoice(PROb_OrderAndPaymentToInvoice.java:249)
http://builds.openbravo.com/view/qa-internal/job/qa-pi-smoke-modules-oracle/260 [^]
No tags attached.
related to defect 0032908 closed alostale Grid recordcount has a delay to be updated 
png paymentsShouldBeGeneratedFromPaymentProposal.png (77,690) 2011-10-07 08:41
https://issues.openbravo.com/file_download.php?file_id=4625&type=bug
png
Issue History
2011-10-03 18:47plujanNew Issue
2011-10-03 18:47plujanAssigned To => alostale
2011-10-03 18:47plujanWeb browser => Mozilla Firefox
2011-10-03 18:47plujanModules => Core
2011-10-03 18:56plujanStatusnew => scheduled
2011-10-03 18:56plujanAssigned Toalostale => mtaal
2011-10-03 18:56plujanfix_in_branch => pi
2011-10-04 09:52shuehnerWeb browserMozilla Firefox => Mozilla Firefox
2011-10-04 09:52shuehnerNote Added: 0041476
2011-10-04 09:52shuehnerTarget Version => 3.0MP4
2011-10-04 09:52shuehnerfix_in_branchpi =>
2011-10-04 13:59hgbotCheckin
2011-10-04 13:59hgbotNote Added: 0041491
2011-10-07 08:39plujanNote Added: 0041538
2011-10-07 08:41plujanNote Added: 0041539
2011-10-07 08:41plujanFile Added: paymentsShouldBeGeneratedFromPaymentProposal.png
2011-10-12 02:02hudsonbotCheckin
2011-10-12 02:02hudsonbotNote Added: 0041754
2011-10-12 11:28hgbotCheckin
2011-10-12 11:28hgbotNote Added: 0041770
2011-10-12 11:28hgbotStatusscheduled => resolved
2011-10-12 11:28hgbotResolutionopen => fixed
2011-10-12 11:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/52ac3ecf8abae458c4604da88779eee3f9a84cbd [^]
2011-10-12 17:54marvintmStatusresolved => closed
2011-10-12 18:18hudsonbotCheckin
2011-10-12 18:18hudsonbotNote Added: 0041776
2016-05-25 17:08alostaleRelationship addedrelated to 0032908

Notes
(0041476)
shuehner   
2011-10-04 09:52   
adding mp4 version for easier tracking of mp4 blockers.
(0041491)
hgbot   
2011-10-04 13:59   
Repository: erp/devel/pi
Changeset: a1e15c5871523d555cf7beffad9d5d10c152d3ef
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Oct 04 13:58:31 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a1e15c5871523d555cf7beffad9d5d10c152d3ef [^]

Related to issue 18678: Procurement Selenium test is failing on record counting for the grid

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0041538)
plujan   
2011-10-07 08:39   
After the fix, the error seems to be translated to other test case. Note that stack trace still points to assertCount function but now in FINb test case:


Error Message

Timed out after 60 seconds Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-305-ec2', java.version: '1.6.0_20' Driver info: driver.version: unknown
Stacktrace

org.openqa.selenium.TimeoutException: Timed out after 60 seconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-305-ec2', java.version: '1.6.0_20'
Driver info: driver.version: unknown
    at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:220)
    at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:186)
    at com.openbravo.test.integration.erp.modules.client.application.gui.OBStandardView.assertCount(OBStandardView.java:401)
    at com.openbravo.test.integration.erp.modules.client.application.gui.GeneratedTab.assertCount(GeneratedTab.java:544)
    at com.openbravo.test.integration.erp.testscripts.SmokeTabScript.assertCount(SmokeTabScript.java:185)
    at com.openbravo.test.integration.erp.testsuites.smoke.financial.FINb_PaymentProposal.paymentsShouldBeGeneratedFromPaymentProposal(FINb_PaymentProposal.java:227)
(0041539)
plujan   
2011-10-07 08:41   
http://builds.openbravo.com/view/qa-internal/job/qa-pi-smoke-modules-oracle/281/ [^]
(0041754)
hudsonbot   
2011-10-12 02:02   
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/9bd2b5c2d982 [^]

Maturity status: Test
(0041770)
hgbot   
2011-10-12 11:28   
Repository: erp/devel/pi
Changeset: 52ac3ecf8abae458c4604da88779eee3f9a84cbd
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Oct 12 11:28:26 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/52ac3ecf8abae458c4604da88779eee3f9a84cbd [^]

Fixes issue 18678: Procurement Selenium test is failing on record counting for the grid
Prevent filtering if nothing changed in the filter valyue

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
---
(0041776)
hudsonbot   
2011-10-12 18:18   
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/95d64f500412 [^]

Maturity status: Test