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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053039
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminoralways2023-07-24 12:452023-08-03 13:59
Reporterasier_perezView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053039: Searching a product with the Search button is slower than pressing enter

DescriptionThe time interval between searching a product by using the Search button and the product appearing in the keymap is twice as much as doing the same action but using the enter key. These two ways of doing the same action should take the same time.
Steps To Reproduce0) Copy this product name to your clipboard: GPS Mini
1) Log in POS2
2) Open Developer Tools and go to the Performance tab
5) Click on the Record button (or Ctrl+E) to start recording
6) In POS2, click on the Search bar
7) Paste the product name from your clipboard and quickly press enter
8) Wait until the product appears in the keymap and then, in Developer Tools, click Stop to stop recording and show the performance graphics
9) In the screenshots, search for the moment where you have copied the product name in the search bar and click there to set a timestamp
10) Then search for the moment when the product has appeared in the keymap
11) Adjust the time interval from above to match the time period between the two events => It will be around 400-500 ms (localhost) or 200-250 (livebuilds)
12) Repeat the process but clicking on the Search button near the search bar, instead of pressing the enter key => Note that the time interval will be around 800-1000 ms (localhost) or 400-500 (livebuilds)
TagsNo tags attached.
Attached Filespng file icon performance.png [^] (234,240 bytes) 2023-07-24 12:45

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0152824)
asier_perez (developer)
2023-07-24 13:04

This issue causes Cypress tests to fail unless we increase the command timeouts or we make Cypress to use the enter key as a workaround, as in this merge request: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1972 [^]

- Issue History
Date Modified Username Field Change
2023-07-24 12:45 asier_perez New Issue
2023-07-24 12:45 asier_perez Assigned To => Retail
2023-07-24 12:45 asier_perez File Added: performance.png
2023-07-24 12:45 asier_perez Triggers an Emergency Pack => No
2023-07-24 12:47 asier_perez Description Updated View Revisions
2023-07-24 12:48 asier_perez Steps to Reproduce Updated View Revisions
2023-07-24 13:04 asier_perez Note Added: 0152824
2023-08-02 11:26 asier_perez Regression level => Automated tests
2023-08-02 11:26 asier_perez Regression introduced in release => main
2023-08-02 11:31 asier_perez Description Updated View Revisions
2023-08-03 10:47 asier_perez Priority normal => immediate
2023-08-03 11:47 shuehner Issue Monitored: shuehner
2023-08-03 12:07 AugustoMauch Assigned To Retail => Triage Platform Base
2023-08-03 13:59 asier_perez Regression level Automated tests =>
2023-08-03 13:59 asier_perez Regression introduced in release main =>
2023-08-03 13:59 asier_perez Priority immediate => normal
2023-08-03 13:59 asier_perez Description Updated View Revisions
2023-08-03 13:59 asier_perez Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker