Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046760
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminoralways2021-05-20 14:592024-02-12 15:50
ReporterlorenzofidalgoView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046760: Sidebar buttons can not be clicked properly with automated tests

DescriptionUnlike 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 Reproduce0-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.
TagsNo tags attached.
Attached Filespng file icon 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
Powered by Mantis Bugtracker