Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046059 | POS2 | Core | public | 2021-03-11 18:25 | 2021-07-15 12:42 |
|
Reporter | lorenzofidalgo | |
Assigned To | jarmendariz | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | Automated tests |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/373006f5633b58705817e1ef809f8fdf120f8f4e [^] |
Triggers an Emergency Pack | No |
|
Summary | 0046059: Typing inside input fields is broken in automated tests |
Description | Using basic Cypress typing functionality is broken now, due to the New POS is behaving badly treating how text is written in the login input fields (it seems some action is being performed after typing the text inside the input field that induces a clear of that input field).
I attach the following 2 videos with the specific behaviours (pre and post issue) and the context with the specific changesets narrowing down the cause of this issue:
https://drive.google.com/file/d/1FDkndHEoVeX_Y0SeTAjER8wRoiraUEU0/view?usp=sharing [^]
https://drive.google.com/file/d/1DgHqyid3XOWRcc1dpLPf7eSjWzfHeLGl/view?usp=sharing [^]
Since basic functionalities such as cy.get('#user').type(Cypress.env('terminalUser')); can not be performed properly, this situation is blocking the executions of the cypress automated tests.
To reproduce easily this issue, a Cypress context with the automated tests is required. |
Steps To Reproduce | 0-With a Cypress context properly set up, launch the Initial.spec.js tests from POS2 module. Path: .../openbravo/modules/org.openbravo.pos2/web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/Initial.spec.js
1-Once the test is launched, realise the input fields are sometimes clearing the input field content, inducing the test to fail. (It was working properly previous to this merge). |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-03-11 18:25 | lorenzofidalgo | New Issue | |
2021-03-11 18:25 | lorenzofidalgo | Assigned To | => Retail |
2021-03-11 18:25 | lorenzofidalgo | Regression level | => Automated tests |
2021-03-11 18:25 | lorenzofidalgo | Regression introduced by commit | => 373006f5633b58705817e1ef809f8fdf120f8f4e |
2021-03-11 18:25 | lorenzofidalgo | Triggers an Emergency Pack | => No |
2021-03-11 18:32 | lorenzofidalgo | Regression introduced by commit | 373006f5633b58705817e1ef809f8fdf120f8f4e => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/373006f5633b58705817e1ef809f8fdf120f8f4e [^] |
2021-04-29 10:10 | guilleaer | Note Added: 0127641 | |
2021-04-29 10:10 | guilleaer | Assigned To | Retail => lorenzofidalgo |
2021-04-29 10:10 | guilleaer | Status | new => feedback |
2021-04-29 10:29 | lorenzofidalgo | Note Added: 0127648 | |
2021-04-29 10:30 | lorenzofidalgo | Assigned To | lorenzofidalgo => Retail |
2021-04-29 10:30 | lorenzofidalgo | Status | feedback => new |
2021-04-29 10:46 | guilleaer | Resolution time | => 1622239200 |
2021-04-29 10:46 | guilleaer | Assigned To | Retail => platform |
2021-04-29 10:46 | guilleaer | Priority | immediate => none |
2021-04-29 10:46 | guilleaer | Severity | major => minor |
2021-04-29 10:46 | guilleaer | Status | new => acknowledged |
2021-05-07 15:00 | guilleaer | Priority | none => normal |
2021-05-19 09:30 | jarmendariz | Assigned To | platform => jarmendariz |
2021-05-19 09:30 | jarmendariz | Status | acknowledged => scheduled |
2021-06-01 19:20 | guilleaer | Resolution time | 1622239200 => 1624917600 |
2021-07-15 12:42 | dmiguelez | Note Added: 0130507 | |
2021-07-15 12:42 | dmiguelez | Status | scheduled => closed |
2021-07-15 12:42 | dmiguelez | Resolution | open => no change required |