Skip to content

Commit

Permalink
Merge pull request PrestaShop#22734 from nesrineabdmouleh/fixValidati…
Browse files Browse the repository at this point in the history
…onMessageNightly08/01

Fix nightly develop - 08/01/2021 (successful update message in countries page)
  • Loading branch information
kpodemski authored Jan 8, 2021
2 parents 93bc514 + c67b7e2 commit fbccb49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Disable 'Restrict country selections in front office to those covered by active
Go to FO > Address page and check that the country exist
Disable the country 'Afghanistan'
*/
describe('Filter and quick edit countries', async () => {
describe('Enable/Disable Restrict country selections in front office', async () => {
// before and after functions
before(async function () {
browserContext = await helper.createBrowserContext(this.browser);
Expand Down Expand Up @@ -118,7 +118,7 @@ describe('Filter and quick edit countries', async () => {
await testContext.addContextItem(this, 'testIdentifier', `${status.args.status}RestrictCountry`, baseContext);

const currentStatus = await countriesPage.setCountriesRestrictions(page, status.args.enable);
await expect(currentStatus).to.contains(countriesPage.successfulUpdateMessage);
await expect(currentStatus).to.contains(countriesPage.settingsUpdateMessage);
});

it('should go to FO', async function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Countries extends BOBasePage {
super();

this.pageTitle = 'Countries •';
this.successfulUpdateMessage = 'The settings have been successfully updated.';
this.settingsUpdateMessage = 'The settings have been successfully updated.';

// Selectors
// Header selectors
Expand Down

0 comments on commit fbccb49

Please sign in to comment.