Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0046760 | POS2 | POS | public | 2021-05-20 14:59 | 2024-02-12 15:50 |
Reporter | lorenzofidalgo | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0046760: Sidebar buttons can not be clicked properly with automated tests | ||||
Description | Unlike the rest of the POS2 buttons, some siderbar buttons are not clickable using a simple Cypress order such as "cy(<ID>).click()". Clicking in them will throw the tooltip message with the name of the section (Orders, Customers...) but the section will not be open. This behaviour is inconsistent due to the rest of the buttons work properly. It seems the component has some "nodes" and that is why it can not be plainly clicked. | ||||
Steps To Reproduce | 0-With a Cypress context properly set up, go to Customers.spec.js test from POS2 module. Path: .../openbravo/modules/org.openbravo.pos2/web-jspack/org.openbravo.pos2/src-test/cypress/integration/Components/Customers.spec.js 1-Find the following order in the code: cy.get('[data-testid="OBPOS2_Customers"]').then(customersButton => { customersButton[0].click(); }); 2-The plain order should be cy.get('[data-testid="OBPOS2_Customers"]').click(); but this order is not working and the previous workaround has had to be applied. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | SidebarButtons.png (56,186) 2021-05-20 14:59 https://issues.openbravo.com/file_download.php?file_id=15793&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-05-20 14:59 | lorenzofidalgo | New Issue | |||
2021-05-20 14:59 | lorenzofidalgo | Assigned To | => Retail | ||
2021-05-20 14:59 | lorenzofidalgo | File Added: SidebarButtons.png | |||
2021-05-20 14:59 | lorenzofidalgo | Triggers an Emergency Pack | => No | ||
2021-05-21 18:36 | guilleaer | Resolution time | => 1625349600 | ||
2021-05-21 18:36 | guilleaer | Status | new => acknowledged | ||
2021-07-14 13:22 | dmiguelez | Resolution time | 1625349600 => 1633039200 | ||
2021-07-15 17:59 | dmiguelez | Resolution time | 1633039200 => 1638313200 | ||
2024-02-12 15:49 | lorenzofidalgo | Resolution | open => fixed | ||
2024-02-12 15:50 | lorenzofidalgo | Status | acknowledged => scheduled | ||
2024-02-12 15:50 | lorenzofidalgo | Note Added: 0160631 | |||
2024-02-12 15:50 | lorenzofidalgo | Status | scheduled => resolved | ||
2024-02-12 15:50 | lorenzofidalgo | Status | resolved => closed |
Notes | |||||
|
|||||
|
|