Openbravo Issue Tracking System - POS2
View Issue Details
0047947POS2Corepublic2021-10-28 16:322024-07-29 09:39
caristu 
sntgreale 
normalminorhave not tried
scheduledopen 
5
 
 
No
0047947: Create test utility component for defining Provider + SessionProvider
It is a common pattern in the test cases to have a Provider + a SessionProvider in order to provide both a redux state and a session context for the testing components:

        <Provider store={store}>
          <SessionProvider>
            ...
          </SessionProvider>
        </Provider>

It would be nice to have a component that encapsulates this pattern in order to ease this kind of component definition and avoid code duplication.
.
- Create a component that encapsulates the Provider + SessionProvider pattern
- Make it use of it in the existing test cases to avoid code duplication
No tags attached.
Issue History
2021-10-28 16:32caristuNew Issue
2021-10-28 16:32caristuAssigned To => Retail
2021-10-28 16:32caristuTriggers an Emergency Pack => No
2021-10-28 16:36guilleaerAssigned ToRetail => platform
2021-10-28 16:36guilleaerStatusnew => acknowledged
2022-02-01 08:07alostaleAssigned Toplatform => Triage Platform Base
2022-03-09 14:31sntgrealeAssigned ToTriage Platform Base => sntgreale
2022-03-09 14:31sntgrealeStatusacknowledged => scheduled
2022-03-14 19:43hgbotNote Added: 0135708
2022-03-14 19:45hgbotNote Added: 0135709
2022-03-14 19:50hgbotNote Added: 0135710
2022-03-14 19:53hgbotNote Added: 0135711
2022-03-14 19:56hgbotNote Added: 0135712
2022-03-14 19:58hgbotNote Added: 0135713
2022-03-14 20:04hgbotNote Added: 0135714
2022-03-14 21:10hgbotNote Added: 0135715
2024-07-29 09:38hgbotNote Added: 0167418
2024-07-29 09:38hgbotNote Added: 0167419
2024-07-29 09:38hgbotNote Added: 0167420
2024-07-29 09:38hgbotNote Added: 0167421
2024-07-29 09:39hgbotNote Added: 0167422
2024-07-29 09:39hgbotNote Added: 0167423
2024-07-29 09:39hgbotNote Added: 0167424
2024-07-29 09:39hgbotNote Added: 0167425

Notes
(0135708)
hgbot   
2022-03-14 19:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/110 [^]
(0135709)
hgbot   
2022-03-14 19:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.axisc3/-/merge_requests/12 [^]
(0135710)
hgbot   
2022-03-14 19:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.asyncpayprovider/-/merge_requests/14 [^]
(0135711)
hgbot   
2022-03-14 19:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/125 [^]
(0135712)
hgbot   
2022-03-14 19:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.marketingsurvey/-/merge_requests/7 [^]
(0135713)
hgbot   
2022-03-14 19:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.allergens/-/merge_requests/9 [^]
(0135714)
hgbot   
2022-03-14 20:04   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/864 [^]
(0135715)
hgbot   
2022-03-14 21:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/719 [^]
(0167418)
hgbot   
2024-07-29 09:38   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/110 [^]
(0167419)
hgbot   
2024-07-29 09:38   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.axisc3/-/merge_requests/12 [^]
(0167420)
hgbot   
2024-07-29 09:38   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.asyncpayprovider/-/merge_requests/14 [^]
(0167421)
hgbot   
2024-07-29 09:38   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/125 [^]
(0167422)
hgbot   
2024-07-29 09:39   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.marketingsurvey/-/merge_requests/7 [^]
(0167423)
hgbot   
2024-07-29 09:39   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.allergens/-/merge_requests/9 [^]
(0167424)
hgbot   
2024-07-29 09:39   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/864 [^]
(0167425)
hgbot   
2024-07-29 09:39   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/719 [^]