Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0052528 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [POS2] POS | major | always | 2023-05-23 12:15 | 2024-08-12 09:45 | |||
| Reporter | andre_montenegro | View Status | public | |||||
| Assigned To | ranjith_qualiantech_com | |||||||
| Priority | normal | Resolution | unable to reproduce | 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 | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Support ticket | ||||||||
| Regression level | Automated tests | |||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0052528: Set Business Date step fails in portrait mode test due re-render | |||||||
| Description | Whenever a portrait mode test is executed in an environment where business date and initial count has not been set, the Cypress test fails because framework re-rendered asynchronously the button "Next" when trying to click in it. Cypress error: " We initially found matching element(s), but while waiting for them to become actionable, they disappeared from the page. Common situations why this happens: - Your JS framework re-rendered asynchronously - Your app code reacted to an event firing and removed the element " For now, this issue is only reproducible in portrait Cypress tests. | |||||||
| Steps To Reproduce | - Create a context to execute Cypress tests locally, guide: https://docs.google.com/document/d/13YSZJ-JBeAFG6beS6iZDI8G3NxMt1-jrAAkeiZI3Iuo/edit#heading=h.ir7drhtlyh7e [^] - PRECONDITION if required, login POS2 and Close Till (Till -> Close Till -> Finish cash up flow) - Through command line, execute Cypress in window mode "npx cypress open" - Click "E2E", and launch in "Chrome". - Search and execute "services-portrait.spec.js" - Observe how it fails (Screenshot attached) | |||||||
| Proposed Solution | In order to avoid errors while executing tests in local , review why the button "Next" is being re-rendered when loading for first time. The idea is to fix it from POS side instead from Cypress, as this behaviour is not observable in a non-portrait mode test, and it can be a potencial error in the future if it's not solved. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0165151) AugustoMauch (administrator) 2024-05-27 09:57 |
@Andre, I removed the Q2 tag for this one. It cannot be considered as major as the others, because it is not reproducible in a place other than a Cypress test |
|
(0167953) ranjith_qualiantech_com (viewer) 2024-08-12 09:45 |
No error occurs when running the portrait cypress test "portraitServices.spec.js". |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2023-05-23 12:15 | andre_montenegro | New Issue | |
| 2023-05-23 12:15 | andre_montenegro | Assigned To | => Triage Platform Base |
| 2023-05-23 12:15 | andre_montenegro | File Added: portrait-initialcount-error.png | |
| 2023-05-23 12:15 | andre_montenegro | OBNetwork customer | => No |
| 2023-05-23 12:15 | andre_montenegro | Regression level | => Automated tests |
| 2023-05-23 12:15 | andre_montenegro | Triggers an Emergency Pack | => No |
| 2023-05-23 12:16 | andre_montenegro | Proposed Solution updated | |
| 2023-05-23 13:57 | jarmendariz | Relationship added | related to 0051793 |
| 2024-05-07 16:33 | lorenzofidalgo | Target Version | => 24Q2 |
| 2024-05-27 09:57 | AugustoMauch | Note Added: 0165151 | |
| 2024-05-27 09:57 | AugustoMauch | Target Version | 24Q2 => |
| 2024-08-08 10:51 | marvintm | Assigned To | Triage Platform Base => Retail |
| 2024-08-12 07:21 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
| 2024-08-12 07:34 | ranjith_qualiantech_com | Status | new => scheduled |
| 2024-08-12 09:45 | ranjith_qualiantech_com | Note Added: 0167953 | |
| 2024-08-12 09:45 | ranjith_qualiantech_com | Status | scheduled => closed |
| 2024-08-12 09:45 | ranjith_qualiantech_com | Resolution | open => unable to reproduce |
| Copyright © 2000 - 2009 MantisBT Group |