Skip to content

Commit ed33f4b

Browse files
committed
@pages/BO/catalog/product/create : Added
1 parent 6e19559 commit ed33f4b

36 files changed

Lines changed: 4571 additions & 1 deletion

src/index.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ export {default as boModuleManagerPage} from '@pages/BO/modules/moduleManager';
6060
export {default as boModuleManagerUninstalledModulesPage} from '@pages/BO/modules/moduleManager/uninstalledModules';
6161
export {default as boOrdersPage} from '@pages/BO/orders';
6262
export {default as boProductsPage} from '@pages/BO/catalog/products';
63+
export {default as boProductsCreatePage} from '@pages/BO/catalog/products/create';
64+
export {default as boProductsCreateTabCombinationsPage} from '@pages/BO/catalog/products/create/tabCombinations';
65+
export {default as boProductsCreateTabDescriptionPage} from '@pages/BO/catalog/products/create/tabDescription';
66+
export {default as boProductsCreateTabDetailsPage} from '@pages/BO/catalog/products/create/tabDetails';
67+
export {default as boProductsCreateTabOptionsPage} from '@pages/BO/catalog/products/create/tabOptions';
68+
export {default as boProductsCreateTabPackPage} from '@pages/BO/catalog/products/create/tabPack';
69+
export {default as boProductsCreateTabPricingPage} from '@pages/BO/catalog/products/create/tabPricing';
70+
export {default as boProductsCreateTabSeoPage} from '@pages/BO/catalog/products/create/tabSeo';
71+
export {default as boProductsCreateTabShippingPage} from '@pages/BO/catalog/products/create/tabShipping';
72+
export {default as boProductsCreateTabStocksPage} from '@pages/BO/catalog/products/create/tabStocks';
73+
export {default as boProductsCreateTabVirtualProductPage} from '@pages/BO/catalog/products/create/tabVirtualProduct';
6374
// Export Pages FO
6475
export * as FOBasePage from '@pages/FO/FOBasePage';
6576
// Export Pages FO/Classic
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import {type BOBasePagePageInterface} from '@interfaces/BO';
2+
import { Page } from '@playwright/test';
3+
import FakerProduct from '@data/faker/product';
4+
5+
export interface BOCatalogProductsCreatePageInterface extends BOBasePagePageInterface {
6+
readonly pageTitle: string;
7+
readonly saveProductButton: string;
8+
9+
setProduct(page: Page, productData: FakerProduct): Promise<string>;
10+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import {type BOBasePagePageInterface} from '@interfaces/BO';
2+
3+
export interface BOCatalogProductsCreateTabCombinationsPageInterface extends BOBasePagePageInterface {
4+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import {type BOBasePagePageInterface} from '@interfaces/BO';
2+
import { Page } from '@playwright/test';
3+
import FakerProduct from '@data/faker/product';
4+
5+
export interface BOCatalogProductsCreateTabDescriptionPageInterface extends BOBasePagePageInterface {
6+
setProductDescription(page: Page, productData: FakerProduct): Promise<void>
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import {type BOBasePagePageInterface} from '@interfaces/BO';
2+
import { Page } from '@playwright/test';
3+
import FakerProduct from '@data/faker/product';
4+
5+
export interface BOCatalogProductsCreateTabDetailsPageInterface extends BOBasePagePageInterface {
6+
setProductDetails(page: Page, productData: FakerProduct): Promise<void>;
7+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import {type BOBasePagePageInterface} from '@interfaces/BO';
2+
3+
export interface BOCatalogProductsCreateTabOptionsPageInterface extends BOBasePagePageInterface {
4+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import {type ProductPackItem} from '@data/types/product';
2+
import {type BOBasePagePageInterface} from '@interfaces/BO';
3+
import {type Page} from '@playwright/test';
4+
5+
export interface BOCatalogProductsCreateTabPackPageInterface extends BOBasePagePageInterface {
6+
setPackOfProducts(page: Page, packData: ProductPackItem[]): Promise<void>
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import {type BOBasePagePageInterface} from '@interfaces/BO';
2+
import {type Page } from '@playwright/test';
3+
import FakerProduct from '@data/faker/product';
4+
5+
export interface BOCatalogProductsCreateTabPricingPageInterface extends BOBasePagePageInterface {
6+
setProductPricing(page: Page, productData: FakerProduct): Promise<void>
7+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import {type BOBasePagePageInterface} from '@interfaces/BO';
2+
3+
export interface BOCatalogProductsCreateTabSeoPageInterface extends BOBasePagePageInterface {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import {type BOBasePagePageInterface} from '@interfaces/BO';
2+
3+
export interface BOCatalogProductsCreateTabShippingPageInterface extends BOBasePagePageInterface {
4+
}

0 commit comments

Comments
 (0)