Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046760 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | minor | always | 2021-05-20 14:59 | 2024-02-12 15:50 | |||
Reporter | lorenzofidalgo | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | SidebarButtons.png [^] (56,186 bytes) 2021-05-20 14:59
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0160631) lorenzofidalgo (developer) 2024-02-12 15:50 |
Tested again and the issue is already fixed |
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 |
Copyright © 2000 - 2009 MantisBT Group |