-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@pages/BO/catalog/product/create : Added
- Loading branch information
Showing
36 changed files
with
4,571 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
import { Page } from '@playwright/test'; | ||
import FakerProduct from '@data/faker/product'; | ||
|
||
export interface BOCatalogProductsCreatePageInterface extends BOBasePagePageInterface { | ||
readonly pageTitle: string; | ||
readonly saveProductButton: string; | ||
|
||
setProduct(page: Page, productData: FakerProduct): Promise<string>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
|
||
export interface BOCatalogProductsCreateTabCombinationsPageInterface extends BOBasePagePageInterface { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
import { Page } from '@playwright/test'; | ||
import FakerProduct from '@data/faker/product'; | ||
|
||
export interface BOCatalogProductsCreateTabDescriptionPageInterface extends BOBasePagePageInterface { | ||
setProductDescription(page: Page, productData: FakerProduct): Promise<void> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
import { Page } from '@playwright/test'; | ||
import FakerProduct from '@data/faker/product'; | ||
|
||
export interface BOCatalogProductsCreateTabDetailsPageInterface extends BOBasePagePageInterface { | ||
setProductDetails(page: Page, productData: FakerProduct): Promise<void>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
|
||
export interface BOCatalogProductsCreateTabOptionsPageInterface extends BOBasePagePageInterface { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {type ProductPackItem} from '@data/types/product'; | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
import {type Page} from '@playwright/test'; | ||
|
||
export interface BOCatalogProductsCreateTabPackPageInterface extends BOBasePagePageInterface { | ||
setPackOfProducts(page: Page, packData: ProductPackItem[]): Promise<void> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
import {type Page } from '@playwright/test'; | ||
import FakerProduct from '@data/faker/product'; | ||
|
||
export interface BOCatalogProductsCreateTabPricingPageInterface extends BOBasePagePageInterface { | ||
setProductPricing(page: Page, productData: FakerProduct): Promise<void> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
|
||
export interface BOCatalogProductsCreateTabSeoPageInterface extends BOBasePagePageInterface { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
|
||
export interface BOCatalogProductsCreateTabShippingPageInterface extends BOBasePagePageInterface { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import FakerProduct from '@data/faker/product'; | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
import { Page } from '@playwright/test'; | ||
|
||
export interface BOCatalogProductsCreateTabStocksPageInterface extends BOBasePagePageInterface { | ||
setProductStock(page: Page, productData: FakerProduct): Promise<void>; | ||
} |
7 changes: 7 additions & 0 deletions
7
src/interfaces/BO/catalog/products/create/tabVirtualProduct.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import FakerProduct from '@data/faker/product'; | ||
import {type BOBasePagePageInterface} from '@interfaces/BO'; | ||
import { Page } from '@playwright/test'; | ||
|
||
export interface BOCatalogProductsCreateTabVirtualProductPageInterface extends BOBasePagePageInterface { | ||
setVirtualProduct(page: Page, productData: FakerProduct): Promise<void>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreatePageInterface } from '@interfaces/BO/catalog/products/create'; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreatePageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/index'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { BOCatalogProductsCreateTabCombinationsPageInterface } from "@interfaces/BO/catalog/products/create/tabCombinations"; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabCombinationsPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabCombinations'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabDescriptionPageInterface } from '@interfaces/BO/catalog/products/create/tabDescription'; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabDescriptionPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabDescription'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabDetailsPageInterface } from "@interfaces/BO/catalog/products/create/tabDetails"; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabDetailsPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabDetails'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabOptionsPageInterface } from "@interfaces/BO/catalog/products/create/tabOptions"; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabOptionsPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabOptions'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabPackPageInterface } from '@interfaces/BO/catalog/products/create/tabPack'; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabPackPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabPack'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabPricingPageInterface } from "@interfaces/BO/catalog/products/create/tabPricing"; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabPricingPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabPricing'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabSeoPageInterface } from "@interfaces/BO/catalog/products/create/tabSeo"; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabSeoPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabSeo'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabShippingPageInterface } from '@interfaces/BO/catalog/products/create/tabShipping'; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabShippingPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabShipping'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabStocksPageInterface } from '@interfaces/BO/catalog/products/create/tabStocks'; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabStocksPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabStocks'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { BOCatalogProductsCreateTabVirtualProductPageInterface } from '@interfaces/BO/catalog/products/create/tabVirtualProduct'; | ||
|
||
/* eslint-disable global-require, @typescript-eslint/no-var-requires */ | ||
function requirePage(): BOCatalogProductsCreateTabVirtualProductPageInterface { | ||
return require('@versions/develop/pages/BO/catalog/products/create/tabVirtualProduct'); | ||
} | ||
/* eslint-enable global-require, @typescript-eslint/no-var-requires */ | ||
|
||
export default requirePage(); |
Oops, something went wrong.