Skip to content

Commit

Permalink
Re-enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox committed Oct 29, 2024
1 parent 40096bb commit bf740a8
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,10 @@ describe('BO - Design - Image Settings - Image Generation on creation', async ()
);
expect(fileJpegExists, `File ${idCategory}-${imageTypeName}.jpg doesn't exist!`).to.eq(true);

// @todo : https://github.com/PrestaShop/PrestaShop/issues/37282
//const fileWebpExists = await utilsFile.doesFileExist(
// `${utilsFile.getRootPath()}/img/c/${idCategory}-${imageTypeName}.webp`,
//);
//expect(fileWebpExists, `File ${idCategory}-${imageTypeName}.webp doesn't exist!`).to.eq(true);
const fileWebpExists = await utilsFile.doesFileExist(
`${utilsFile.getRootPath()}/img/c/${idCategory}-${imageTypeName}.webp`,
);
expect(fileWebpExists, `File ${idCategory}-${imageTypeName}.webp doesn't exist!`).to.eq(true);
}));
});
});
Expand Down

0 comments on commit bf740a8

Please sign in to comment.