Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0054671 | POS2 | POS | public | 2024-02-14 12:58 | 2024-03-21 12:33 |
Reporter | ruben_jimenez | ||||
Assigned To | ruben_jimenez | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0054671: Add digital coupons modules to pos2-modules context definition | ||||
Description | org.openbravo.retail.digitalcoupons and org.openbravo.retail.digitalcoupons.sampledata need to be added to the pos2-modules context definition JSON. Due to the new module org.openbravo.digitalcoupons, some IDs have been changed, causing failures in the CI/CD pipeline. For example: 'Expected to find element: [data-testid="obdico-digitalCouponDialog-addManually"], but never found it.' at Context.digitalCouponFlowT1 | ||||
Steps To Reproduce | Execute the Cypress test in a pos2-modules environment with the org.openbravo.retail.digitalcoupons and org.openbravo.retail.digitalcoupons.sampledata modules added. | ||||
Proposed Solution | Update the Cypress test as follows: 1- Replace cy.clickPayButton() with cy.get('[data-testid="obpos2ButtonBar2-payButton"]').click() since cy.clickPayButton() has been deleted. 2- Update the test data-testids with the ones added in org.openbravo.retail.digitalcoupons. 3. Update the /src-test/cypress/.eslintrc.json file with the content provided at: https://gitlab.com/openbravo/devel/pmods/org.openbravo.pos2/-/blob/91193f70b6af8295d52382901870343ff47ca5f0/web-jspack/org.openbravo.pos2/src-test/cypress/.eslintrc.json [^] 4. Update test and function files by removing unnecessary exceptions that are already covered by the .eslintrc.json file. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-02-14 12:58 | ruben_jimenez | New Issue | |||
2024-02-14 12:58 | ruben_jimenez | Assigned To | => Triage Platform Base | ||
2024-02-14 12:58 | ruben_jimenez | Triggers an Emergency Pack | => No | ||
2024-03-11 10:48 | AugustoMauch | Assigned To | Triage Platform Base => ruben_jimenez | ||
2024-03-21 12:33 | andre_montenegro | Note Added: 0162468 | |||
2024-03-21 12:33 | andre_montenegro | Proposed Solution updated |
Notes | |||||
|
|||||
|
|