Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0054671 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | minor | have not tried | 2024-02-14 12:58 | 2024-03-21 12:33 | |||||||
Reporter | ruben_jimenez | View Status | public | |||||||||
Assigned To | ruben_jimenez | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | |||||||||||
Review Assigned To | ||||||||||||
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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0162468) andre_montenegro (developer) 2024-03-21 12:33 |
Added more changes to implement to the proposed solution (3 and 4) due a change in the eslintrc.json file for all Cypress folders: https://gitlab.com/openbravo/devel/pmods/org.openbravo.pos2/-/commit/91193f70b6af8295d52382901870343ff47ca5f0 [^] |
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 |
Copyright © 2000 - 2009 MantisBT Group |