From 9c95ef8f6e80538e74a38a406a7a065024f319a7 Mon Sep 17 00:00:00 2001 From: shashwata Date: Mon, 25 Nov 2024 09:22:26 +0600 Subject: [PATCH] Fix a method --- tests/pw/tests/e2e/productsDetailsAuction.spec.ts | 2 +- tests/pw/utils/apiUtils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pw/tests/e2e/productsDetailsAuction.spec.ts b/tests/pw/tests/e2e/productsDetailsAuction.spec.ts index 0c31e522c..17e75f50d 100644 --- a/tests/pw/tests/e2e/productsDetailsAuction.spec.ts +++ b/tests/pw/tests/e2e/productsDetailsAuction.spec.ts @@ -190,7 +190,7 @@ test.describe('Auction Product details functionality test', () => { test('vendor can update product relist options', { tag: ['@pro', '@vendor'] }, async () => { test.skip(true, 'not implemented yet'); - await vendor.addProductGeneralOption(productIdFull, data.product.auction); + await vendor.addProductRelistingOption(productIdFull, { ...data.product.auction, relistIfFailAfterNHours: '5', relistIfNotPaidAfterNHours: '6', relistAuctionDurationInH: '7' }); }); // product inventory options diff --git a/tests/pw/utils/apiUtils.ts b/tests/pw/utils/apiUtils.ts index 6ba254938..84d3e99fe 100644 --- a/tests/pw/utils/apiUtils.ts +++ b/tests/pw/utils/apiUtils.ts @@ -1534,7 +1534,7 @@ export class ApiUtils { } /** - * ShipStation methods + * ShipStation api methods */ async createShipStationCredential(vendorId: string, auth?: auth): Promise {