From d495441eac728b22548327bed0274b67645a5e2f Mon Sep 17 00:00:00 2001 From: Florine Hea Date: Mon, 9 Dec 2024 17:45:05 +0100 Subject: [PATCH] followed progis feedbacks --- tests/UI/campaigns/audit/BO/10_payment.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/UI/campaigns/audit/BO/10_payment.ts b/tests/UI/campaigns/audit/BO/10_payment.ts index 57cac4bca8f6a..a9cfa207d8f2a 100644 --- a/tests/UI/campaigns/audit/BO/10_payment.ts +++ b/tests/UI/campaigns/audit/BO/10_payment.ts @@ -1,6 +1,5 @@ import {expect} from 'chai'; import testContext from '@utils/testContext'; - import preferencesPage from '@pages/BO/payment/preferences'; import { @@ -14,7 +13,7 @@ import { const baseContext: string = 'audit_BO_payment'; -describe('BO - Payment methods', async () => { +describe('BO - Payment', async () => { let browserContext: BrowserContext; let page: Page; @@ -59,8 +58,8 @@ describe('BO - Payment methods', async () => { expect(jsErrors.length).to.equals(0); }); - it('should go to \'Preferences\' page', async function () { - await testContext.addContextItem(this, 'testIdentifier', 'goToPaymentMethodsPage', baseContext); + it('should go to \'Payment > Preferences\' page', async function () { + await testContext.addContextItem(this, 'testIdentifier', 'goToPaymentPreferencesPage', baseContext); await boDashboardPage.goToSubMenu( page, @@ -75,5 +74,4 @@ describe('BO - Payment methods', async () => { const jsErrors = utilsPlaywright.getJsErrors(); expect(jsErrors.length).to.equals(0); }); - }); \ No newline at end of file