@@ -8,10 +8,7 @@ import StockMovementService from '@/api/StockMovementService';
88import ImpersonateBanner from '@/components/ImpersonateBanner' ;
99import LocationChooser from '@/components/LocationChooser' ;
1010import Navbar from '@/components/Navbar' ;
11- import AppConfig , {
12- LOCATION_KEY ,
13- USER_KEY ,
14- } from '@/config/AppConfig' ;
11+ import AppConfig , { LOCATION_KEY , USER_KEY } from '@/config/AppConfig' ;
1512import CreateInbound from '@/pages/inbound/create/CreateInboundPage' ;
1613import InboundListPage from '@/pages/inbound/list/InboundListPage' ;
1714import CreateInvoicePage from '@/pages/invoice/CreateInvoicePage' ;
@@ -28,6 +25,7 @@ import OrganizationListPage from '@/pages/oranization/OrganizationListPage';
2825import CreatePersonPage from '@/pages/people/CreatePersonPage' ;
2926import PersonsListPage from '@/pages/people/PersonsListPage' ;
3027import CreateProductPage from '@/pages/product/CreateProductPage' ;
28+ import ProductEditPage from '@/pages/product/productEdit/ProductEditPage' ;
3129import ProductShowPage from '@/pages/product/productShow/ProductShowPage' ;
3230import CreatePutawayPage from '@/pages/putaway/CreatePutawayPage' ;
3331import PutawayListPage from '@/pages/putaway/list/PutawayListPage' ;
@@ -72,6 +70,7 @@ type Fixtures = {
7270 transactionListPage : TransactionListPage ;
7371 oldViewShipmentPage : OldViewShipmentPage ;
7472 putawayListPage : PutawayListPage ;
73+ productEditPage : ProductEditPage ;
7574 // COMPONENTS
7675 navbar : Navbar ;
7776 locationChooser : LocationChooser ;
@@ -145,6 +144,7 @@ export const test = baseTest.extend<Fixtures>({
145144 oldViewShipmentPage : async ( { page } , use ) =>
146145 use ( new OldViewShipmentPage ( page ) ) ,
147146 putawayListPage : async ( { page } , use ) => use ( new PutawayListPage ( page ) ) ,
147+ productEditPage : async ( { page } , use ) => use ( new ProductEditPage ( page ) ) ,
148148 // COMPONENTS
149149 navbar : async ( { page } , use ) => use ( new Navbar ( page ) ) ,
150150 locationChooser : async ( { page } , use ) => use ( new LocationChooser ( page ) ) ,
@@ -179,8 +179,7 @@ export const test = baseTest.extend<Fixtures>({
179179 internalLocation2Service : async ( { page } , use ) =>
180180 use ( new LocationData ( LOCATION_KEY . BIN_LOCATION2 , page . request ) ) ,
181181 // PRODUCTS
182- productService : async ( { page } , use ) =>
183- use ( new ProductData ( page . request ) ) ,
182+ productService : async ( { page } , use ) => use ( new ProductData ( page . request ) ) ,
184183 // USERS
185184 mainUserService : async ( { page } , use ) =>
186185 use ( new UserData ( USER_KEY . MAIN , page . request ) ) ,
0 commit comments