Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0017493 | Openbravo ERP | A. Platform | public | 2011-06-03 13:28 | 2011-06-07 08:34 |
|
Reporter | plujan | |
Assigned To | mtaal | |
Priority | immediate | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | no change required | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0MP0 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0017493: Selenium tests are broken because of a change in the Date fields behaviour |
Description | Because of fix to issue 0017434, Selenium tests are not working properly. Reported issue 0017462 was rejected since it cannot be reproduced manually. However, since the fix Selenium tests are not filling the date fields. See steps. |
Steps To Reproduce | When executing a Unit test that fills a date field, the field is not filled with the desired date. See an output at http://goo.gl/lHQm1 [^]
The observed behaviour is:
1. Selenium opens a Sales Order in Form
2. Selenium clears current Order Date content (this is because of issue 0016730 )
3. Selenium writes desired value.
4. The ERP then, clears the value, changing it back to empty
5. Selenium tries to save. It shows an error because a mandatory field is empty. |
Proposed Solution | I've spent several hours trying to workaround this issue, with no luck. So may be some change from the ERP side could help Selenium to behave as expected. Until this issue were fixed, no automated smoke tests could be executed. |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0017499 | | closed | alostale | It is not possible to enter text with selenium on date fields | related to | feature request | 0017560 | | new | Triage Platform Base | Make date fields management Selenium friendly |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-06-03 13:28 | plujan | New Issue | |
2011-06-03 13:28 | plujan | Assigned To | => iperdomo |
2011-06-03 13:28 | plujan | Modules | => Core |
2011-06-03 13:38 | jpabloae | Issue Monitored: jpabloae | |
2011-06-06 10:21 | iperdomo | Status | new => scheduled |
2011-06-06 10:21 | iperdomo | Assigned To | iperdomo => mtaal |
2011-06-06 10:21 | iperdomo | fix_in_branch | => pi |
2011-06-06 10:22 | hgbot | Checkin | |
2011-06-06 10:22 | hgbot | Note Added: 0038016 | |
2011-06-06 15:53 | plujan | Note Added: 0038047 | |
2011-06-06 17:13 | elopio | Relationship added | has duplicate 0017499 |
2011-06-06 18:53 | hgbot | Checkin | |
2011-06-06 18:53 | hgbot | Note Added: 0038067 | |
2011-06-07 03:56 | hudsonbot | Checkin | |
2011-06-07 03:56 | hudsonbot | Note Added: 0038072 | |
2011-06-07 08:34 | plujan | Note Added: 0038081 | |
2011-06-07 08:34 | plujan | Status | scheduled => closed |
2011-06-07 08:34 | plujan | Resolution | open => no change required |
2011-06-08 13:13 | plujan | Relationship added | related to 0017560 |
Notes |
|
(0038016)
|
hgbot
|
2011-06-06 10:22
|
|
Repository: erp/devel/pi
Changeset: 6f28c4fd4d65de0a4d5f384f6f9357e94d70feb9
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jun 06 10:21:18 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6f28c4fd4d65de0a4d5f384f6f9357e94d70feb9 [^]
Related to issue 17493: Selenium tests are broken because of a change in the Date fields behaviour
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
---
|
|
|
(0038047)
|
plujan
|
2011-06-06 15:53
|
|
I've implemented a workaround from automation code. I'll push it to development branch and if it works, I'll promote it to the stable branch. |
|
|
(0038067)
|
hgbot
|
2011-06-06 18:53
|
|
Repository: tools/automation/int
Changeset: b3d7087a0fb1a65622e33e5497e6cf4e109d41b4
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Mon Jun 06 15:54:59 2011 +0200
URL: http://code.openbravo.com/tools/automation/int/rev/b3d7087a0fb1a65622e33e5497e6cf4e109d41b4 [^]
Related to issue 17493: Works around issue with Date fields
---
M src-test/com/openbravo/test/integration/erp/modules/userinterface/smartclient/gui/DateItem.java
M src-test/com/openbravo/test/integration/erp/modules/userinterface/smartclient/gui/TextItem.java
---
|
|
|
|
|
|
(0038081)
|
plujan
|
2011-06-07 08:34
|
|
A fix was made in the Selenium code, so no extra change in the ERP required. |
|