Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrineabdmouleh committed May 27, 2024
1 parent 0115db9 commit 9828499
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/interfaces/BO/catalog/products/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export interface BOProductsPageInterface extends BOBasePagePageInterface {
readonly alertDangerIDFilterValue: string;
readonly alertDangerPriceFilterValue: string;
readonly alertDangerQuantityFilterValue: string;
readonly modalCreateProduct: string;
readonly modalDialog: string;
readonly packOfProductsDescription: string;
readonly pageTitle: string;
readonly productWithCombinationsDescription: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {BODetailsTabPageInterface} from '@interfaces/BO/catalog/products/ad
import type {Frame, Page} from 'playwright';

/**
* Details tab on new product V2 page, contains functions that can be used on the page
* Details tab on new product page, contains functions that can be used on the page
* @class
* @extends BOBasePage
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class CreateProduct extends BOBasePage implements BOCreateProductPageInterface
await detailsTab.setProductDetails(page, productData);

if (productData.type === 'virtual') {
await this.setVirtualProduct(page, productData);
await virtualProductTab.setVirtualProduct(page, productData);
} else if (productData.type !== 'combinations') {
await stocksTab.setProductStock(page, productData);
}
Expand Down
2 changes: 1 addition & 1 deletion src/versions/develop/pages/BO/catalog/products/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class ProductsPage extends BOBasePage implements BOProductsPageInterface {

private readonly productListTablePreviewButton: (row: number) => string;

readonly modalCreateProduct: string;
protected readonly modalCreateProduct: string;

private readonly modalCreateProductLoader: string;

Expand Down

0 comments on commit 9828499

Please sign in to comment.