Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046589 | POS2 | POS | public | 2021-05-07 14:28 | 2021-05-23 23:10 |
|
Reporter | plujan | |
Assigned To | hernan-dp | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | Gold |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0046589: The Carousel pagers identifiers (data-testid) are not unique |
Description | In order to paginate the keymaps, the Carousel functionality introduces new components called "pagers", that are small white/grey circles at the bottom or at the right margin of the keymap.
These pagers' data-testid fields are named "-circle-0", "-circle-1" and so on. In case there are more than one pager, this means the testids are not unique. |
Steps To Reproduce | The easiest way to see this is to inspect the page and seek for the "circle" text. An example screenshot is attached. |
Proposed Solution | Change the name to make it unique, by adding the name of the keymap it is controlling. Also, please rename the testid from "circle" to "pager", as the shape of the component is not a good way to name it.
For example: data-testid="ProductCategory-pager-0" or "obpos2ProductCategory-pager-0" |
Additional Information | |
Tags | Takeaway |
Relationships | related to | defect | 0046730 | | closed | hernan-dp | Carousel "arrow" keys are missing its testid | related to | defect | 0046815 | | closed | hernan-dp | The Carousel vertical pagers identifiers (data-testid) for Product keymap are not properly |
|
Attached Files | Carousel-testids.png (24,297) 2021-05-07 14:28 https://issues.openbravo.com/file_download.php?file_id=15675&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2021-05-07 14:28 | plujan | New Issue | |
2021-05-07 14:28 | plujan | Assigned To | => Retail |
2021-05-07 14:28 | plujan | File Added: Carousel-testids.png | |
2021-05-07 14:28 | plujan | OBNetwork customer | => Gold |
2021-05-07 14:28 | plujan | Resolution time | => 1621548000 |
2021-05-07 14:28 | plujan | Triggers an Emergency Pack | => No |
2021-05-07 14:42 | guilleaer | Tag Attached: Takeaway | |
2021-05-07 14:43 | guilleaer | Resolution time | 1621548000 => 1623016800 |
2021-05-07 14:43 | guilleaer | Severity | major => minor |
2021-05-07 14:43 | guilleaer | Summary | [TAP] The Carousel pagers identifiers (data-testid) are not unique => The Carousel pagers identifiers (data-testid) are not unique |
2021-05-07 14:44 | guilleaer | Status | new => acknowledged |
2021-05-08 00:06 | hgbot | Merge Request Status | => open |
2021-05-08 00:06 | hgbot | Note Added: 0127906 | |
2021-05-08 00:07 | hgbot | Note Added: 0127907 | |
2021-05-08 00:08 | hgbot | Note Added: 0127908 | |
2021-05-10 09:05 | guilleaer | Status | acknowledged => scheduled |
2021-05-10 09:05 | guilleaer | Assigned To | Retail => hernan-dp |
2021-05-10 09:08 | guilleaer | Note Added: 0127928 | |
2021-05-10 09:09 | guilleaer | Note Deleted: 0127907 | |
2021-05-10 09:09 | guilleaer | Note Deleted: 0127928 | |
2021-05-11 21:29 | hgbot | Note Added: 0128011 | |
2021-05-11 21:29 | hgbot | Note Added: 0128012 | |
2021-05-19 10:50 | plujan | Relationship added | related to 0046730 |
2021-05-19 10:51 | plujan | Note Added: 0128391 | |
2021-05-21 12:44 | hgbot | Merge Request Status | open => approved |
2021-05-21 12:49 | hgbot | Resolution | open => fixed |
2021-05-21 12:49 | hgbot | Status | scheduled => closed |
2021-05-21 12:49 | hgbot | Note Added: 0128491 | |
2021-05-21 12:49 | hgbot | Note Added: 0128492 | |
2021-05-21 12:49 | hgbot | Note Added: 0128493 | |
2021-05-21 12:49 | hgbot | Note Added: 0128494 | |
2021-05-21 14:07 | hgbot | Note Added: 0128499 | |
2021-05-22 11:35 | hgbot | Note Added: 0128521 | |
2021-05-23 23:10 | hgbot | Note Added: 0128523 | |
2021-05-23 23:10 | hgbot | Note Added: 0128524 | |
2021-05-24 16:33 | plujan | Relationship added | related to 0046815 |
Notes |
|
(0127906)
|
hgbot
|
2021-05-08 00:06
|
|
|
|
(0127908)
|
hgbot
|
2021-05-08 00:08
|
|
|
|
(0128011)
|
hgbot
|
2021-05-11 21:29
|
|
|
|
(0128012)
|
hgbot
|
2021-05-11 21:29
|
|
|
|
(0128391)
|
plujan
|
2021-05-19 10:51
|
|
|
|
(0128491)
|
hgbot
|
2021-05-21 12:49
|
|
|
|
(0128492)
|
hgbot
|
2021-05-21 12:49
|
|
|
|
(0128493)
|
hgbot
|
2021-05-21 12:49
|
|
|
|
(0128494)
|
hgbot
|
2021-05-21 12:49
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 1fdc33f1eb12daa65988e5873a23c475db4a5a4a
Author: hernan-dp <h.de.prada1@gmail.com>
Date: 2021-05-21T12:46:36+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/1fdc33f1eb12daa65988e5873a23c475db4a5a4a [^]
fixed ISSUE-46589: Added keymap id to test id so it isn't static.
---
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryKeymap/ProductCategoryKeymap.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryKeymap/__mock__/FullKeymapConfig.mock.json
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryKeymap/__test__/ProductCategoryKeymap.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductKeymap/ProductKeymap.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductKeymap/__mock__/ProductKeymap.mock1.json
M web-jspack/org.openbravo.pos2/src/components/ProductKeymap/__test__/ProductKeymap.test.jsx
---
|
|
|
(0128499)
|
hgbot
|
2021-05-21 14:07
|
|
|
|
(0128521)
|
hgbot
|
2021-05-22 11:35
|
|
|
|
(0128523)
|
hgbot
|
2021-05-23 23:10
|
|
|
|
(0128524)
|
hgbot
|
2021-05-23 23:10
|
|
|