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:592021-07-15 17:59
ReporterlorenzofidalgoView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix 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
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker