Skip to content

Commit

Permalink
cleaned file
Browse files Browse the repository at this point in the history
  • Loading branch information
florine2623 committed Dec 20, 2024
1 parent 3ee5fde commit d0ad5c5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/UI/campaigns/audit/BO/12_shopParameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,22 +164,20 @@ describe('BO - Shop Parameters', async () => {
expect(jsErrors.length).to.equals(0);
});

//ERROR JS HERE
it('should go to \'Statuses > Edit Order return status\' page', async function () {
await testContext.addContextItem(this, 'testIdentifier', 'goToEditOrderReturnStatusPage', baseContext);

const tableName: string = 'order_return';

await boOrderSettingsPage.goToStatusesPage(page);
await statusesPage.goToEditPage(page, tableName, 1);

const pageTitle = await addOrderReturnStatusPage.getPageTitle(page);
expect(pageTitle).to.contains(addOrderReturnStatusPage.pageTitleEdit('Waiting for confirmation'));

const jsErrors = utilsPlaywright.getJsErrors();
expect(jsErrors.length).to.equals(0);
});
//ERROR JS HERE

it('should go to \'Shop parameters > Product Settings\' page', async function () {
await testContext.addContextItem(this, 'testIdentifier', 'goToProductSettingPage', baseContext);
Expand Down

0 comments on commit d0ad5c5

Please sign in to comment.