Skip to content

Commit

Permalink
Merge pull request PrestaShop#30616 from Progi1984/fixNightly_20221219
Browse files Browse the repository at this point in the history
Functional Tests : Fixed the selector in deletion modal
  • Loading branch information
boubkerbribri authored Dec 19, 2022
2 parents b215070 + c1ac360 commit 5b659bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ describe('BO - Design - Image Settings : CRUD image type in BO', async () => {
await testContext.addContextItem(this, 'testIdentifier', 'filterForDelete', baseContext);

await imageSettingsPage.resetFilter(page);

await imageSettingsPage.filterTable(
page,
'input',
Expand Down
2 changes: 1 addition & 1 deletion tests/UI/pages/BO/design/imageSettings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ImageSettings extends BOBasePage {
this.tableColumnActionsDeleteLink = (row) => `${this.tableColumnActionsDropdownMenu(row)} a.delete`;

// Confirmation modal
this.deleteModalButtonYes = '#popup_ok';
this.deleteModalButtonYes = '.btn-confirm-delete-images-type';

// Bulk actions selectors
this.bulkActionBlock = 'div.bulk-actions';
Expand Down

0 comments on commit 5b659bc

Please sign in to comment.