Skip to content

Commit 41e2e74

Browse files
committed
add new pages
1 parent abc6b8e commit 41e2e74

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/fixtures/fixtures.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ import StockMovementService from '@/api/StockMovementService';
88
import ImpersonateBanner from '@/components/ImpersonateBanner';
99
import LocationChooser from '@/components/LocationChooser';
1010
import 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';
1512
import CreateInbound from '@/pages/inbound/create/CreateInboundPage';
1613
import InboundListPage from '@/pages/inbound/list/InboundListPage';
1714
import CreateInvoicePage from '@/pages/invoice/CreateInvoicePage';
@@ -28,6 +25,7 @@ import OrganizationListPage from '@/pages/oranization/OrganizationListPage';
2825
import CreatePersonPage from '@/pages/people/CreatePersonPage';
2926
import PersonsListPage from '@/pages/people/PersonsListPage';
3027
import CreateProductPage from '@/pages/product/CreateProductPage';
28+
import ProductEditPage from '@/pages/product/productEdit/ProductEditPage';
3129
import ProductShowPage from '@/pages/product/productShow/ProductShowPage';
3230
import CreatePutawayPage from '@/pages/putaway/CreatePutawayPage';
3331
import 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

Comments
 (0)