Skip to content

Commit

Permalink
followed progis feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
florine2623 committed Dec 9, 2024
1 parent 58eb99c commit d495441
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/UI/campaigns/audit/BO/10_payment.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {expect} from 'chai';
import testContext from '@utils/testContext';

import preferencesPage from '@pages/BO/payment/preferences';

import {
Expand All @@ -14,7 +13,7 @@ import {

const baseContext: string = 'audit_BO_payment';

describe('BO - Payment methods', async () => {
describe('BO - Payment', async () => {
let browserContext: BrowserContext;

Check failure on line 17 in tests/UI/campaigns/audit/BO/10_payment.ts

View workflow job for this annotation

GitHub Actions / ESLint

Expected indentation of 2 spaces but found 4
let page: Page;

Check failure on line 18 in tests/UI/campaigns/audit/BO/10_payment.ts

View workflow job for this annotation

GitHub Actions / ESLint

Expected indentation of 2 spaces but found 4

Check failure on line 19 in tests/UI/campaigns/audit/BO/10_payment.ts

View workflow job for this annotation

GitHub Actions / ESLint

Trailing spaces not allowed
Expand Down Expand Up @@ -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,
Expand All @@ -75,5 +74,4 @@ describe('BO - Payment methods', async () => {
const jsErrors = utilsPlaywright.getJsErrors();
expect(jsErrors.length).to.equals(0);
});

});

0 comments on commit d495441

Please sign in to comment.